version 1.71.2.3, 2005/08/02 18:36:59
|
version 1.71.2.4, 2005/08/02 18:41:39
|
|
|
Boolean Thread::_key_error = false; | Boolean Thread::_key_error = false; |
| |
| |
// for non-native implementations |
|
#ifndef PEGASUS_THREAD_CLEANUP_NATIVE |
|
void Thread::cleanup_push( void (*routine)(void *), void *parm) throw(IPCException) | void Thread::cleanup_push( void (*routine)(void *), void *parm) throw(IPCException) |
{ | { |
AutoPtr<cleanup_handler> cu(new cleanup_handler(routine, parm)); | AutoPtr<cleanup_handler> cu(new cleanup_handler(routine, parm)); |
|
|
cu->execute(); | cu->execute(); |
} | } |
| |
#endif |
|
|
|
| |
//thread_data *Thread::put_tsd(const Sint8 *key, void (*delete_func)(void *), Uint32 size, void *value) throw(IPCException) | //thread_data *Thread::put_tsd(const Sint8 *key, void (*delete_func)(void *), Uint32 size, void *value) throw(IPCException) |
| |