| Gentee Programming Language > Documentation > Libraries | Download documentation |
Create a thread.
uint thread.create( uint idfunc, uint param )
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.
The handle of the created thread is returned. It returns 0 in case of an error.
See alsoCopyright © 2004-2006 Gentee Inc. All rights reserved. |