mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-02 03:16:11 -04:00
Added sharedSynchronization library
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// ======================================================================
|
||||
//
|
||||
// Gate.h
|
||||
//
|
||||
// Copyright 2001-2002 Sony Online Entertainment
|
||||
// All Rights Reseved.
|
||||
//
|
||||
// ======================================================================
|
||||
|
||||
#ifndef INCLUDED_Gate_h
|
||||
#define INCLUDED_Gate_h
|
||||
|
||||
// ======================================================================
|
||||
|
||||
class Gate
|
||||
{
|
||||
public:
|
||||
|
||||
Gate(bool initiallyOpen);
|
||||
~Gate();
|
||||
|
||||
void wait();
|
||||
|
||||
void close();
|
||||
void open();
|
||||
|
||||
private:
|
||||
|
||||
Gate(const Gate &o);
|
||||
Gate &operator =(const Gate &o);
|
||||
|
||||
private:
|
||||
|
||||
HANDLE handle;
|
||||
};
|
||||
|
||||
// ======================================================================
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user