uti: Don't call mcexec_terminate_thread() when McKernel asks mcexec to interrupt system call

This commit is contained in:
Masamichi Takagi
2018-02-28 14:49:53 +09:00
parent b8bacdd2de
commit f04e5c24ab

View File

@ -2841,10 +2841,11 @@ kill_thread(unsigned long tid, int sig)
for (tp = thread_data; tp; tp = tp->next) {
if (tp->remote_tid == tid) {
pthread_kill(tp->thread_id, sig);
break;
}
}
if (pthread_kill(tp->thread_id, sig) == ESRCH) {
printf("%s: ERROR: Thread not found (tid=%ld,sig=%d)\n", __FUNCTION__, tid, sig);
}
}
}
}
static int