version 1.37, 2004/06/03 15:04:54
|
version 1.38, 2004/06/04 05:54:51
|
|
|
inline void create_tsd(const Sint8 *key, int size, void *buffer) throw(IPCException) | inline void create_tsd(const Sint8 *key, int size, void *buffer) throw(IPCException) |
{ | { |
AutoPtr<thread_data> tsd(new thread_data(key, size, buffer)); | AutoPtr<thread_data> tsd(new thread_data(key, size, buffer)); |
try { _tsd.insert_first(tsd.get()); } |
_tsd.insert_first(tsd.get()); |
catch(IPCException& e) { e = e; throw; } |
|
tsd.release(); | tsd.release(); |
} | } |
| |
|
|
inline void create_tsd(const Sint8 *key ) throw(IPCException) | inline void create_tsd(const Sint8 *key ) throw(IPCException) |
{ | { |
AutoPtr<thread_data> tsd(new thread_data(key)); | AutoPtr<thread_data> tsd(new thread_data(key)); |
try { _tsd.insert_first(tsd.get()); } |
_tsd.insert_first(tsd.get()); |
catch(IPCException& e) { e = e; throw; } |
|
tsd.release(); | tsd.release(); |
} | } |
PEGASUS_THREAD_HANDLE _handle; | PEGASUS_THREAD_HANDLE _handle; |