version 1.15.2.4.2.1, 2008/07/01 15:18:02
|
version 1.16, 2008/06/10 17:32:22
|
|
|
# error "<Pegasus/Common/Threads.h>: not implemented" | # error "<Pegasus/Common/Threads.h>: not implemented" |
#endif | #endif |
| |
#if defined(PEGASUS_OS_SOLARIS) |
|
# include <string.h> |
|
# include <stdio.h> |
|
#endif |
|
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
//============================================================================== | //============================================================================== |
|
|
| |
inline ThreadId Threads::id(const ThreadType& x) | inline ThreadId Threads::id(const ThreadType& x) |
{ | { |
ThreadId tid = { { 0 } }; |
ThreadId tid; |
| |
#if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) | #if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
const char* s = x.thread.__; | const char* s = x.thread.__; |