aspose file tools*
The moose likes Threads and Synchronization and the fly likes ExecutorService shutdown - blocking? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "ExecutorService shutdown - blocking?" Watch "ExecutorService shutdown - blocking?" New topic
Author

ExecutorService shutdown - blocking?

bob breitling
Greenhorn

Joined: Oct 07, 2009
Posts: 1
Does a call to an ExecutorService object's shutdown method block?

TIA,

Bob
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3007
    
    9
This isn't clearly documented, but you can test easily:

You can also try other ways of creating an ExecutorService. It's possible that some implementations may behave differently.
 
wood burning stoves
 
subject: ExecutorService shutdown - blocking?