version 1.3, 2006/08/21 15:31:03
|
version 1.4, 2006/08/21 15:46:16
|
|
|
| |
//============================================================================== | //============================================================================== |
// | // |
|
// ThreadId |
|
// |
|
//============================================================================== |
|
|
|
struct ThreadId |
|
{ |
|
// The character representation of a uint64 requires 22 bytes including the |
|
// null terminator. |
|
char buffer[22]; |
|
}; |
|
|
|
//============================================================================== |
|
// |
// ThreadType | // ThreadType |
// | // |
//============================================================================== | //============================================================================== |
| |
#if defined(PEGASUS_HAVE_PTHREADS) | #if defined(PEGASUS_HAVE_PTHREADS) |
|
|
struct ThreadType | struct ThreadType |
{ | { |
ThreadType() | ThreadType() |
|
|
| |
pthread_t thread; | pthread_t thread; |
}; | }; |
|
|
// This structure represents a thread identifier. |
|
struct ThreadId |
|
{ |
|
// The character representation of a uint64 requires 22 bytes including the |
|
// null terminator. |
|
char buffer[22]; |
|
}; |
|
|
|
#endif /* PEGASUS_HAVE_PTHREADS */ | #endif /* PEGASUS_HAVE_PTHREADS */ |
| |
#if defined(PEGASUS_HAVE_WINDOWS_THREADS) | #if defined(PEGASUS_HAVE_WINDOWS_THREADS) |