> For the beauty of the code:
>         while (activeThreads != 0) {
>             try {
>                 Thread.sleep(1000);
>             } catch (Exception e) {
>                 e.printStackTrace();
>             }
>         }
> I would use a semaphore here instead of this ugly while loop ;)
>

Yes, it's ugly. I've already replaced it with something more standard.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to