Saar Carmi

A .NET Blog

<November 2008>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456


Navigation

Subscriptions

Post Categories



ReaderWriterLock - Acquire lock with infinite timeout

The documantion of the methods AcquireReaderLock and AcquireWriteLock do not include information about how to get infinite timeout.

The information is available in the class's documentation.

Anyway, you can use the value Timeout.Infinite (== -1) for infinite timeout.

 

 

posted on Tuesday, October 19, 2004 1:50 AM by saarc





Powered by Dot Net Junkies, by Telligent Systems