curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Vines <vi...@apache.org>
Subject InterProcessReadWriteLock
Date Tue, 10 Sep 2013 22:10:14 GMT
Quick question about the behavior of the InterProcessReadWriteLock's
locking behavior- what happens if I attempt to acquire a write lock while
there are read lock's in position? Will it block until the reader's are
released or will it attempt to revoke the reader's locks? If the former,
will it still block for the reader who's attempting to claim the writer?

Thanks
John

Mime
View raw message