|
Space Engineers
|
A semaphore class. More...
Public Member Functions | |
| Semaphore (int maximumCount) | |
| Creates a new instance of the Semaphore class. More... | |
| void | WaitOne () |
| Blocks the calling thread until resources are made available, then consumes one resource. More... | |
| void | Release () |
| Adds one resource. More... | |
A semaphore class.
Definition at line 12 of file Semaphore.cs.
|
inline |
Creates a new instance of the Semaphore class.
| maximumCount |
Definition at line 22 of file Semaphore.cs.
|
inline |
Adds one resource.
Definition at line 47 of file Semaphore.cs.
|
inline |
Blocks the calling thread until resources are made available, then consumes one resource.
Definition at line 31 of file Semaphore.cs.
1.8.8