Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Thread question Date: Wed, 30 Nov 2011 18:28:02 -0800 Organization: A noiseless patient Spider Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 1 Dec 2011 02:28:03 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="5400"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eZXiLdCThxj1+sf6jcfRu23ua0tzjIrM=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: Cancel-Lock: sha1:+yO3WuvXjkFnA1pAVZQ0TiyKgOU= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10392 On 11/30/2011 6:04 PM, Eric Sosman wrote: > ITYM awaitTermination(), a method I hadn't noticed but which > does as you say *and* has a useful timeout. shutdown(), however, > does not wait: It just "initiates an orderly shutdown" and returns > with the shutdown still (potentially) in progress. > You're probably right, it's been a while since I actually used an executor service.