/[svn]/doc/docbase/instrument_scripts/nksp/reference/functions/nksp_fork_function.html
ViewVC logotype

Diff of /doc/docbase/instrument_scripts/nksp/reference/functions/nksp_fork_function.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3577 by schoenebeck, Wed Jun 28 10:55:28 2017 UTC revision 3578 by schoenebeck, Thu Aug 29 12:13:17 2019 UTC
# Line 105  fork([??amount??], [??auto-abort??]) Line 105  fork([??amount??], [??auto-abort??])
105      <h3>Return Value</h3>      <h3>Return Value</h3>
106      <table>      <table>
107        <tr>        <tr>
108          <th>Description</th> <th>Data Type</th>          <th>Data Type</th> <th>Description</th>
109        </tr>        </tr>
110        <tr>        <tr>
111            <td>Integer Number</td>
112          <td>          <td>
113            Returns <code>-1</code> on error, i.e. if the requested amount of new threads would exceed            Returns <code>-1</code> on error, i.e. if the requested amount of new threads would exceed
114            either the global limit or limit per thread for child threads. Otherwise on success, this            either the global limit or limit per thread for child threads. Otherwise on success, this
115            function returns <code>0</code> for the parent thread, <code>1</code> for the first child            function returns <code>0</code> for the parent thread, <code>1</code> for the first child
116            thread, <code>2</code> for the second child thread, and so on.            thread, <code>2</code> for the second child thread, and so on.
117          </td>          </td>
         <td>Integer Number</td>  
118        </tr>        </tr>
119      </table>      </table>
120    

Legend:
Removed from v.3577  
changed lines
  Added in v.3578

  ViewVC Help
Powered by ViewVC