[concurrency-interest] synchronize design
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:
> 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.
> MSN Messenger: appels gratuits de PC à PC !
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
More information about the Concurrency-interest