Wednesday, May 2, 2007

Code snippet is available at :

http://javaticks.googlepages.com/threadPool.html


There is a mistake in the above program, which tries to interrupt all the other thread in pool on emergency shutdown. This is not possible. A thread can only interrupt itself and not other threads.

No comments: