aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-07-03 13:21:45 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-07-03 13:21:45 +0200
commitffedd175233975f3ca9ac940df9883898d5ace25 (patch)
treea073d90a98b188635b19027d797e2c8b663501e0 /docs
parentf81fe873dd24f93306f0f667fc47766990a9321b (diff)
downloadlanes-ffedd175233975f3ca9ac940df9883898d5ace25.tar.gz
lanes-ffedd175233975f3ca9ac940df9883898d5ace25.tar.bz2
lanes-ffedd175233975f3ca9ac940df9883898d5ace25.zip
Renamed set_debug_threadname → lane_threadname (can also read the current name now)
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html
index 0cdf954..4fd7447 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -736,7 +736,7 @@
736 </td> 736 </td>
737 <td>string</td> 737 <td>string</td>
738 <td> 738 <td>
739 Name of the lane. If <tt>"auto"</tt>, name is built from <tt>ar.short_src:ar.linedefined</tt>. Can be changed later from the inside of the lane with <tt>set_debug_threadname()</tt> (see below). 739 Name of the lane. If <tt>"auto"</tt>, name is built from <tt>ar.short_src:ar.linedefined</tt>. Can be changed later from the inside of the lane with <tt>lane_threadname()</tt> (see below).
740 </td> 740 </td>
741 </tr> 741 </tr>
742 <tr id=".gc_cb" valign=top> 742 <tr id=".gc_cb" valign=top>
@@ -773,7 +773,7 @@
773 </table> 773 </table>
774 774
775<p> 775<p>
776 Each lane gets a global function <tt>set_debug_threadname()</tt> that it can use anytime to do as the name says. Supported debuggers are Microsoft Visual Studio (for the C side) and <a href="https://github.com/unknownworlds/decoda">Decoda</a> (for the Lua side).<br /> 776 Each lane gets a global function <tt>lane_threadname()</tt> that it can use anytime to do both read and change the thread name. Supported debuggers are Microsoft Visual Studio (for the C side) and <a href="https://github.com/unknownworlds/decoda">Decoda</a> (for the Lua side).<br />
777 Change <tt>HAVE_DECODA_SUPPORT()</tt> in <tt>lanesconf.h</tt> to enable the Decoda support, that sets a special global variable <tt>decoda_name</tt> in the lane's state.<br /> 777 Change <tt>HAVE_DECODA_SUPPORT()</tt> in <tt>lanesconf.h</tt> to enable the Decoda support, that sets a special global variable <tt>decoda_name</tt> in the lane's state.<br />
778 The name is stored inside the Lua state registry so that it is available for error reporting. Changing <tt>decoda_name</tt> doesn't affect this hidden name or the OS thread name reported by MSVC.<br /> 778 The name is stored inside the Lua state registry so that it is available for error reporting. Changing <tt>decoda_name</tt> doesn't affect this hidden name or the OS thread name reported by MSVC.<br />
779 When Lanes is initialized by the first <a href="#initialization"><tt>lanes.configure()</tt></a> call, <tt>"main"</tt> is stored in the registry in the same fashion (but <tt>decoda_name</tt> and the OS thread name are left unchanged).<br /> 779 When Lanes is initialized by the first <a href="#initialization"><tt>lanes.configure()</tt></a> call, <tt>"main"</tt> is stored in the registry in the same fashion (but <tt>decoda_name</tt> and the OS thread name are left unchanged).<br />