Fixed semaphores being duplicated needlessly.
This commit is contained in:
parent
933586661f
commit
eea2c8b0db
2 changed files with 10 additions and 10 deletions
|
@ -71,11 +71,11 @@ namespace IPC {
|
|||
///\brief A class used as a semaphore guard
|
||||
class semGuard {
|
||||
public:
|
||||
semGuard(semaphore thisSemaphore);
|
||||
semGuard(semaphore * thisSemaphore);
|
||||
~semGuard();
|
||||
private:
|
||||
///\brief The semaphore to guard.
|
||||
semaphore mySemaphore;
|
||||
semaphore * mySemaphore;
|
||||
};
|
||||
|
||||
#if !defined __APPLE__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue