logo       

more lock modes based on AbstractQueuedSynchronizer: msg#00000

java.jsr.166-concurrency

Subject: more lock modes based on AbstractQueuedSynchronizer

Hi All,

 

I am new to jdk1.5 concurrent API, at the first glance of AbstractQueuedSynchronizer, it appears to me that this class has built-in support for Exclusive and Shared mode locks, if I want to support more type of locks, such as, IX, SIX, Update locks, which are common to database systems, can I still base on this framework, or I have to implement something similar from scratch?

 

Thanks

 

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise