EnglishРусский  
 Share/Save/Bookmark
 

thread.create

Create a thread.

method uint thread.create (
   uint idfunc,
   uint param
)

Parameters

idfunc The pointer to the function that will be called as a new thread. The function must have one parameter. You can get the pointer using the operator &.
param Additional parameter.

Return value

The handle of the created thread is returned. It returns 0 in case of an error.

Related links

Source

Edit