The help file for acquire semaphore states: "Acquiring the same semaphore twice without an intervening call to Release Semaphore generally results in incorrect behavior, such as corrupted data values."
I thought that semaphores could be created with a size greater than 1, thus allowing the semaphore to be acquired multiple times before the semaphore is released. What does setting size to a value other than 1 do if the semaphore must be released before each subsequent call to Acquire Semaphore?
Thanks,
Jason
Jason Rolfe