#include <mt_gem.h>
Data Fields | |
long __CDECL(* | proc )(void *par) |
void * | user_stack |
unsigned long | stacksize |
short | mode |
long | res1 |
|
always set to 0 (reserved) |
|
entry point of the thread |
|
always set to 0 (reserved) |
|
size of the user stack stacksize has to be specified in each case so that the system can set the stack pointer to the end of the thread. The supervisor stack is set by the system itself; its size cannot be influenced. |
|
user stack for the thread If user_stack = NULL, then the system creates the stack itself. If the thread terminates then the system releases the stack anyway. |