osdThreadSpawn

osdThreadSpawn

osd

1998 12-05


NAME

osdThreadSpawn - spawn a new thread of execution


SYNOPSIS

void *osdThreadSpawn( void (*callback)(void *), void *argument )

osdThreadSpawn() starts a new thread of execution. The thread executes the function specified by callback. The argument to the function is specified by argument.


Return a thread handle on success and NULL on failure. The contents of the thread handle are OS dependent and should not be operated on outside the OSD library.


ARGUMENTS


callback the entry point of the new thread
argument the argument to callback