I would very strongly recommend getting familiar with Doug Lea's concurrent classes:
For 1.4:
http://g.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html
For 1.5: Look in java.util.concurrent.
In my experience it is very unusual to have to write your own synchronisation primitives
since most things are available there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995065#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...