|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#13
|
|||
|
|||
|
Re: Help me understand PIDController::OnTarget()
Can someone explain the difference between these two uses of the semaphore? I see both being used in the PIDController class.
Code:
CRITICAL_REGION(m_semaphore)
{
}
END_REGION;
Code:
{
Synchronized sync(m_semaphore);
}
Last edited by jwakeman : 23-02-2012 at 18:59. Reason: code tags |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|