Archived
This forum has been archived. Please start a new discussion on GitHub.
How to cancel a thread?
Hi,
Is there any method to kill a specified thread ? Like following:
main()
{
Thread t = new MyThread();
t->start();/* run() maybe lives long time */
/* here, kill above thread */
}
THX!
Is there any method to kill a specified thread ? Like following:
main()
{
Thread t = new MyThread();
t->start();/* run() maybe lives long time */
/* here, kill above thread */
}
THX!
0