Hi
Is there a possibility that in a process we may exceed the lMaxCount of the semphore? If so, what will happen?
Thanks...
This is a discussion on about CreateSemaphore() within the Windows Programming forums, part of the Platform Specific Boards category; Hi Is there a possibility that in a process we may exceed the lMaxCount of the semphore? If so, what ...
Hi
Is there a possibility that in a process we may exceed the lMaxCount of the semphore? If so, what will happen?
Thanks...
This shouldn't happen. ReleaseSemaphore will return false and leave the count unchanged if increasing the count would make it higher then iMaximumCount.