470,855 Members | 1,330 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,855 developers. It's quick & easy.

Promotable read-lock


do you know any any Java implementation of an improved read-write lock
that can give three kind of locks:
- Read
- Write
- Promotable Read

The read and write locks are as usual.
The promotable read lock can be used when you have to do a lot of
reading and maybe you need to write something too. So the promotable
read lock can be upgraded to a write lock in an atomic operation.
Therefore only one promotable read-lock exists at the same time, like a
write lock.
Jul 17 '05 #1
0 1555

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Gunnar | last post: by
11 posts views Thread by Markus Breuer | last post: by
12 posts views Thread by Steven T. Hatton | last post: by
2 posts views Thread by Sandman | last post: by
4 posts views Thread by Ollie Cook | last post: by
8 posts views Thread by a | last post: by
1 post views Thread by Jose Reckoner | last post: by
6 posts views Thread by arnuld | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.