Hello everyone,
Two questions about exceptions from ReaderWriterLock class,
1. If I use parameter -1 (no timeout value) to acquire either read or write lock, is there any possibility there will be any exceptions?
2. When we release the lock, if the current thread is the owner, is there any possibility to throw any exceptions?
thanks in advance,
George
George GeorgePosted Apr 18, 2008, 1:23 AM
Cool Daniel,
Question answered.
regards,
George
ChongoPosted Apr 17, 2008, 11:38 PM
George GeorgePosted Apr 17, 2008, 9:11 AM
Thanks,
I am new to C#. I want to confirm with you that, there is only ApplicationException could be thrown from all functions from ReaderWriterLock class, and the only situation is "millisecondsTimeout expires before the lock request is granted"? Right?
regards,
George
ChongoPosted Apr 17, 2008, 8:43 AM