getOSThreadEndClb

This method requests a callback to end the current operating system thread. There are two callbacks, depending on whether you are "sitting" on your own thread, or you are an object belonging to another thread.

Visibility
Public
Signature
void getOSThreadEndClb (
   OMOSThread::OMOSThreadEndCallBack *clb_p, 
   void **arg1_p, OMBoolean onExecuteThread = TRUE)
   const;
Parameters
clb_p

Is a pointer to the callback function.

arg1_p

Specifies the argument for the callback function.

onExecuteThread

Specifies how the current thread will be "killed." If this is TRUE, the current thread kills itself. If it is FALSE, another thread will kill the current thread

Note: The getOSThreadEndClb method is typically used in conjunction with the setEndOSThreadInDtor method.

Feedback