ReaderWriterLock

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Here is a description on the time-out for ReaderWriterLock
-1 Infinite.
0 No time-out.
0 The number of milliseconds to wait.

What is the difference between "Infinite" and "No time-out"? Are they the
same?
 
Roy said:
Here is a description on the time-out for ReaderWriterLock
-1 Infinite.
0 No time-out.

What is the difference between "Infinite" and "No time-out"? Are they the
same?

I believe it actually means "don't wait - if you can't acquire whatever
you're after immediately, just bail out". I agree it's poorly worded
though.
 
Back
Top