![]() |
FireSTARR
|
Indicates a section of code that is limited to a certain number of threads running at once. More...
#include <Model.h>
Public Member Functions | |
CriticalSection (Semaphore &ss) | |
Constructor. | |
CriticalSection (const CriticalSection &rhs)=delete | |
CriticalSection (CriticalSection &&rhs)=delete | |
CriticalSection & | operator= (const CriticalSection &rhs)=delete |
CriticalSection & | operator= (CriticalSection &&rhs)=delete |
Private Attributes | |
Semaphore & | s_ |
Semaphore that this keeps track of access for. | |
Indicates a section of code that is limited to a certain number of threads running at once.
|
inlineexplicit |