Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: thread pool with waiting option Date: Fri, 11 Apr 2014 12:40:52 -0400 Organization: A noiseless patient Spider Lines: 9 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 11 Apr 2014 16:44:07 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="30051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UQFdJAW31Y/iUqPd6OCwaS66ft2891YU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 In-Reply-To: Cancel-Lock: sha1:dUANhXUv36bkfK+z3agmI9GXvcI= Xref: csiph.com comp.lang.java.programmer:28032 On 04/10/2014 12:06 PM, Philipp Kraus wrote: > this is a step-based simulation and I would like to create a pause / > wait on a step. There is a PausableThreadPoolExecutor example in the Javadocs. Don't know if it would help.