TMCSafeSection Class Reference
List of all members.
Detailed Description
This class is intended to protect cooperative threads (and preemptive ones) on the pc cooperative threads are not affected by critical sections, on the mac they deadlock. Both cases are bad. For now this class is to protect a single function. When we'll need the same thread to enter twice in the section, we'll need to store the cooperative thread id.
Constructor & Destructor Documentation
TMCSafeSection::TMCSafeSection |
( |
|
) |
[inline] |
TMCSafeSection::~TMCSafeSection |
( |
|
) |
[inline] |
Member Function Documentation
void TMCSafeSection::Enter |
( |
|
) |
[inline] |
TMCCriticalSection* TMCSafeSection::GetCS |
( |
|
) |
[inline] |
boolean TMCSafeSection::IsMainThreadInside |
( |
|
) |
const [inline] |
void TMCSafeSection::Leave |
( |
|
) |
[inline] |
void TMCSafeSection::SetMainThreadInside |
( |
boolean |
value |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: