This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
How can you stop thread. 1)stop running, if another Thread with higher Porperties is getting runnable. 2)using sleep() clause. 3)throwing interrupted exception. 4)if dead cannot be restarted 5)if the Thread starts another thread 6)if suspended cannot be restarted 7)if interrupted stop running
Well I guess currently Running thread May stop running if thread of Higher priority acquires a ready state.Again whether Higher priority thread enters Running state or NOT is depends on the Implementation.if it is time sliced approach We cant say higher priority thread will Run but if it is preemptive approach i guess higher priority thread will get a chance to Run thus stoping the current ThreaD. well second option will obviously stops the Thread and puts into ready state. I guess Other statements Doesnot make sense
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com