A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Threads and Synchronization
kill a running threads
Joined: Dec 21, 2005
Dec 21, 2005 15:30:00
Need some help here. How do we kill a running threads after elapsing a settime say about 5 hours?
I want to use some JVM parameter to do this, i mean without modify code.
Any help is appreciated.
Joined: Jan 29, 2003
Dec 22, 2005 07:31:00
I think you're out of luck trying to kill one thread. You could kill a whole application (JVM) from the command line but that doesn't sound like what you're after.
What is the thread doing? Are you completely unable to change any code?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: kill a running threads
how to kill a process(I know the port in which it runs)
If not listening to socket but might later, kill threads in pool, recreate?
OutOfMemory error QUESTION
How to kill a child thread from its parent?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014