version 1.26, 2002/09/13 17:47:34
|
version 1.27, 2002/09/17 18:01:03
|
|
|
} | } |
| |
// put the thread on the dead list | // put the thread on the dead list |
_dead.insert_first(th); |
//_dead.insert_first(th); |
bodies++; | bodies++; |
sleep_sem->signal(); | sleep_sem->signal(); |
| |
|
|
myself->detach(); | myself->detach(); |
myself->_handle.thid = 0; | myself->_handle.thid = 0; |
myself->cancel(); | myself->cancel(); |
myself->test_cancel(); |
delete myself; |
myself->exit_self(0); |
Thread::test_cancel(); |
|
Thread::exit_self(0); |
} | } |
return((PEGASUS_THREAD_RETURN)0); | return((PEGASUS_THREAD_RETURN)0); |
} | } |