int main( void )
{
PTHREAD myself = MakeThread();
// create threads, do stuff...
UnmakeThread();
At this point the pointer in 'myself' is invalid, and should be cleared.
myself = NULL;
}
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.