adspace
Answer Posted / Ram Vijai
To stop a thread in .NET, you can set its IsAlive property to false and join() the thread. In Python, you can use the thread.join() method to wait for the thread to finish execution. If you need to stop the thread earlier, you can use an event or flag to signal it to exit.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers