uti: Don't call mcexec_terminate_thread() when McKernel asks mcexec to interrupt system call
This commit is contained in:
@ -2841,10 +2841,11 @@ kill_thread(unsigned long tid, int sig)
|
|||||||
|
|
||||||
for (tp = thread_data; tp; tp = tp->next) {
|
for (tp = thread_data; tp; tp = tp->next) {
|
||||||
if (tp->remote_tid == tid) {
|
if (tp->remote_tid == tid) {
|
||||||
pthread_kill(tp->thread_id, sig);
|
if (pthread_kill(tp->thread_id, sig) == ESRCH) {
|
||||||
break;
|
printf("%s: ERROR: Thread not found (tid=%ld,sig=%d)\n", __FUNCTION__, tid, sig);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|||||||
Reference in New Issue
Block a user