Alive thread implemented
This commit is contained in:
6
shm.h
6
shm.h
@@ -17,8 +17,9 @@ private:
|
||||
|
||||
public:
|
||||
void post();
|
||||
void wait();
|
||||
bool wait(int ms);
|
||||
bool trywait();
|
||||
void takeOwnership();
|
||||
|
||||
public:
|
||||
ShmSem(const char *n, bool owner);
|
||||
@@ -52,6 +53,9 @@ public:
|
||||
public:
|
||||
void *ref(int place);
|
||||
|
||||
public:
|
||||
void takeOwnership();
|
||||
|
||||
public:
|
||||
void info(int &usage, int &free_depth, int &free_size, int &item_depth, int &item_size, double &usage_factor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user