windows....sigh
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
class ShmApi;
|
||||
class ShmSemApi;
|
||||
typedef int ShmPlace;
|
||||
typedef int ShmSlot;
|
||||
|
||||
@@ -12,9 +13,7 @@ typedef int ShmSlot;
|
||||
|
||||
class ShmSem {
|
||||
private:
|
||||
void *_sem;
|
||||
char *_name;
|
||||
bool _owner;
|
||||
ShmSemApi *_api;
|
||||
|
||||
public:
|
||||
void post();
|
||||
@@ -44,6 +43,9 @@ public:
|
||||
public:
|
||||
ShmSem *sem(const char *name, bool owner);
|
||||
|
||||
public:
|
||||
bool isValid();
|
||||
|
||||
public:
|
||||
const char *name();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user