also I thought that a ThreadPoolExecutor provided better performance for it manages a pool of threads, minimizing the overhead of instantiating a new thread, allocating memory...
2011/12/12 antares <anta...@virtuasport.it> > it should be not but when i am sure i need it ? > it is a multithread card game i need messages are ordered. > > > 2011/12/12 Emmanuel Lécharny <elecha...@apache.org> > >> On 12/12/11 12:13 AM, antares wrote: >> >>> Emmanuel do you think i can use another type of thread executor instead >>> OrderedThreadPoolExecutor ? or nothing ? >>> >> >> Do you really need an executor ? >> >> >> >> -- >> Regards, >> Cordialement, >> Emmanuel Lécharny >> www.iktek.com >> >> >