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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top