mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-16 18:56:52 +02:00
trunk/branch integration: Event & Mutex
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include "Poco/Foundation.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#if defined(sun) || defined(__APPLE__) || defined(__osf__) || defined(__QNX__)
|
||||
#if defined(sun) || defined(__APPLE__) || defined(__osf__) || defined(__QNX__) || defined(_AIX)
|
||||
#include <semaphore.h>
|
||||
#endif
|
||||
|
||||
@@ -61,13 +61,13 @@ protected:
|
||||
void unlockImpl();
|
||||
|
||||
private:
|
||||
std::string getFileName();
|
||||
std::string getFileName();
|
||||
|
||||
std::string _name;
|
||||
#if defined(sun) || defined(__APPLE__) || defined(__osf__) || defined(__QNX__)
|
||||
sem_t* _sem;
|
||||
std::string _name;
|
||||
#if defined(sun) || defined(__APPLE__) || defined(__osf__) || defined(__QNX__) || defined(_AIX)
|
||||
sem_t* _sem;
|
||||
#else
|
||||
int _lockfd; // lock file descriptor
|
||||
int _lockfd; // lock file descriptor
|
||||
int _semfd; // file used to identify semaphore
|
||||
int _semid; // semaphore id
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user