【在 h*****1 的大作中提到】 : invoke Systerm call to terminate the other one
C*U
6 楼
if you want the first thread invoke system call to terminate the second thread, I think the first thread need know the thread ID and some other information.
【在 h*****1 的大作中提到】 : invoke Systerm call to terminate the other one
l*a
7 楼
Create a global Event, the second thread can wait for the event ,when the event is being set, it can call its termination code. the first thread just need to set the Event.