#include <nitro/os.h>
void OS_SetThreadParameter( OSThread* thread, void* parameter );
thread | Pointer to the thread structure |
parameter | Parameter value to be set |
None.
This function sets the user parameter for a thread.
The user parameter is a region that can be used freely by the user. One void*
type region is give to all threads for this purpose, and its value may be used in any way. The system does not modify or reference this value.
Use OS_GetThreadParameter()
to get the user parameter that has been set.
2005/07/08 Initial version.
CONFIDENTIAL