"david.lloyd(a)jboss.com" wrote :
| Not sure what you're getting at here. There's no such optimization -
basically the code says, "if this is the first time a task was added to the queue,
then this executor is not running, so run it", and on removal, "if this was the
last task removed from the queue, no need to run anymore".
|
My mistake - I read the code too fast :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140699#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...