[concurrency-interest] synchronize design

Rajesh Balamohan rbalamohan at sonoasystems.com
Wed Feb 7 06:49:35 EST 2007

Can you try checking ReadWrite Locks in JDK 1.5 for this?.. Aquire the 
write lock only when you want to change it.


sidali ikhlef wrote:
> Hi,
> I have multiple threads accessing a shared class called Resources, witch is 
> composed of many other objects such as Current Activity, current environment 
> ..... I want to synchronize the access to this resource but not using simple 
> mechanisms like synchronize or synchronize(this). Any help or referencing 
> will be appreciated.
> Precision: writing to the resource must have higher priority than reading 
> and the chronology is very important to keep data coherent.
> Regards.
> _________________________________________________________________
> MSN Messenger: appels gratuits de PC à PC ! 
> http://www.msn.fr/newhotmail/Default.asp?Ath=f
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest

More information about the Concurrency-interest mailing list