Hi
Is there a possibility that in a process we may exceed the lMaxCount of the semphore? If so, what will happen?
Thanks...
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.