This may be preferable to object wait/notify, since you want to avoid contention between
many threads setting the count which you'd likely get with an object wait/notify
approach.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148997#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...