[Pogamut-list] Threads
jakub.gemrot
pogamut-forum at diana.ms.mff.cuni.cz
Wed Feb 20 13:20:27 CET 2013
Re: Threads
Author: jakub.gemrot
Exactly in the main() method.
1) start ALL SLAVES
2) save their instances into public static List
3) start MASTER
-> have the MASTER access that static list of UT2004Bot instances
It has some drawbacks in case of failures of single bot (e.g., the JVM won't terminate if one of your bots fails),
but I guess you should start with that.
Cheers!
Jimmy
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=6&comments_reply_threadId=6&comments_parentId=1134&post_reply=1#form>
More information about the Pogamut-list
mailing list