Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::timers::UnmakeThread Function
C++
IMPORT_METHOD void UnmakeThread();
Parameters 
Description 
Param1 
Description 
Param2 
Description 

Releases resources associated with a PTHREAD. For purposes of waking a thread, and providing a wakeable point for the thread, a system blocking event object is allocated, named with the THREAD_ID so it can be referenced by other processes. This is only allowed to be done by the thread itself.

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.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!