version 1.1.2.1, 2006/07/27 23:11:52
|
version 1.2, 2006/08/09 21:12:42
|
|
|
# define PEGASUS_USE_POSIX_RWLOCK | # define PEGASUS_USE_POSIX_RWLOCK |
#elif defined(PEGASUS_PLATFORM_VMS_ALPHA_DECCXX) | #elif defined(PEGASUS_PLATFORM_VMS_ALPHA_DECCXX) |
# define PEGASUS_USE_POSIX_RWLOCK | # define PEGASUS_USE_POSIX_RWLOCK |
|
#elif defined(PEGASUS_PLATFORM_LINUX_X86_64_GNU) |
|
# define PEGASUS_USE_POSIX_RWLOCK |
#else | #else |
# define PEGASUS_USE_SEMAPHORE_RWLOCK | # define PEGASUS_USE_SEMAPHORE_RWLOCK |
#endif | #endif |
|
|
struct ReadWriteSemRep | struct ReadWriteSemRep |
{ | { |
pthread_rwlock_t rwlock; | pthread_rwlock_t rwlock; |
pthread_t owner; |
ThreadType owner; |
}; | }; |
#endif /* PEGASUS_USE_POSIX_RWLOCK */ | #endif /* PEGASUS_USE_POSIX_RWLOCK */ |
| |