Sascha,

 I have reached a point where I need some help with the new
ThreadQueue implementation.  I have modified my code that calls
getRunningThreads to use the Listener with the
allRunningThreadsFinished method instead.  This was much cleaner and
worked fine until I replaced ThreadQueue with your version.  The
problem I seem to be having is that the method doesn't fire until
after the 5 second WORKER_STAY_ALIVE_TIME has expired.  Can you
explain what I should be doing or modify the code so that it fires
when there are no more jobs waiting?

I have attached the version of ThreadQueue.java that I have been using
in case it is outdated.

thanks,
Larry Becker
--
http://amusingprogrammer.blogspot.com/

Attachment: ThreadQueue.java
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to