aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/index.html21
1 files changed, 15 insertions, 6 deletions
diff --git a/docs/index.html b/docs/index.html
index ed1c367..f08947e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -684,7 +684,7 @@
684 <td>table</td> 684 <td>table</td>
685 <td> 685 <td>
686 Sets the globals table for the launched threads. This can be used for giving them constants. The key/value pairs of <tt>table</tt> are transfered in the lane globals after the libraries have been loaded and the modules required. 686 Sets the globals table for the launched threads. This can be used for giving them constants. The key/value pairs of <tt>table</tt> are transfered in the lane globals after the libraries have been loaded and the modules required.
687 <br/> 687 <br />
688 The global values of different lanes are in no manner connected; modifying one will only affect the particular lane. 688 The global values of different lanes are in no manner connected; modifying one will only affect the particular lane.
689 </td> 689 </td>
690 </tr> 690 </tr>
@@ -698,11 +698,20 @@
698 These tables are built from the modules listed here. <tt>required</tt> must be a list of strings, each one being the name of a module to be required. Each module is required with <tt>require()</tt> before the lanes function is invoked. 698 These tables are built from the modules listed here. <tt>required</tt> must be a list of strings, each one being the name of a module to be required. Each module is required with <tt>require()</tt> before the lanes function is invoked.
699 So, from the required module's point of view, requiring it manually from inside the lane body or having it required this way doesn't change anything. From the lane body's point of view, the only difference is that a module not creating a global won't be accessible. 699 So, from the required module's point of view, requiring it manually from inside the lane body or having it required this way doesn't change anything. From the lane body's point of view, the only difference is that a module not creating a global won't be accessible.
700 Therefore, a lane body will also have to require a module manually, but this won't do anything more (see Lua's <tt>require</tt> documentation). 700 Therefore, a lane body will also have to require a module manually, but this won't do anything more (see Lua's <tt>require</tt> documentation).
701 <br/> 701 <br />
702 ATTEMPTING TO TRANSFER A FUNCTION REGISTERED BY A MODULE NOT LISTED HERE WILL RAISE AN ERROR. 702 ATTEMPTING TO TRANSFER A FUNCTION REGISTERED BY A MODULE NOT LISTED HERE WILL RAISE AN ERROR.
703 </td> 703 </td>
704 </tr> 704 </tr>
705 <tr id="Tr1" valign=top> 705 <tr id=".name" valign=top>
706 <td>
707 <code>.name</code>
708 </td>
709 <td>string</td>
710 <td>
711 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).
712 </td>
713 </tr>
714 <tr id=".gc_cb" valign=top>
706 <td> 715 <td>
707 <code>.gc_cb</code> 716 <code>.gc_cb</code>
708 </td> 717 </td>
@@ -719,9 +728,9 @@
719 <td> 728 <td>
720 The priority of lanes generated in the range -3..+3 (default is 0). 729 The priority of lanes generated in the range -3..+3 (default is 0).
721 These values are a mapping over the actual priority range of the underlying implementation. 730 These values are a mapping over the actual priority range of the underlying implementation.
722 <br/> 731 <br />
723 Implementation and dependability of priorities varies by platform. Especially Linux kernel 2.6 is not supporting priorities in user mode. 732 Implementation and dependability of priorities varies by platform. Especially Linux kernel 2.6 is not supporting priorities in user mode.
724 <br/> 733 <br />
725 A lane can also change its own thread priority dynamically with <a href="#priority"><tt>lanes.set_thread_priority()</tt></a>. 734 A lane can also change its own thread priority dynamically with <a href="#priority"><tt>lanes.set_thread_priority()</tt></a>.
726 </td> 735 </td>
727 </tr> 736 </tr>
@@ -732,7 +741,7 @@
732 <td> table</td> 741 <td> table</td>
733 <td> 742 <td>
734 Specifying it when <code>libs_str</code> doesn't cause the <code>package</code> library to be loaded will generate an error. 743 Specifying it when <code>libs_str</code> doesn't cause the <code>package</code> library to be loaded will generate an error.
735 <br/> 744 <br />
736 If not specified, the created lane will receive the current values of <tt>package</tt>. Only <tt>path</tt>, <tt>cpath</tt>, <tt>preload</tt> and <tt>loaders</tt> (Lua 5.1)/<tt>searchers</tt> (Lua 5.2) are transfered. 745 If not specified, the created lane will receive the current values of <tt>package</tt>. Only <tt>path</tt>, <tt>cpath</tt>, <tt>preload</tt> and <tt>loaders</tt> (Lua 5.1)/<tt>searchers</tt> (Lua 5.2) are transfered.
737 </td> 746 </td>
738 </tr> 747 </tr>