Does anyone know how .NET handles a timeout when calling Semaphore.WaitOne(timeout) ?
I would expect a TimeoutException , but the MSDN documentation does not list this in the list of expected exceptions, and I cannot find it anywhere in the documents.
Thanks in advance!
c # timeout semaphore
James king
source share