A signal may not sometimes arrive to a thread.
This commit is contained in:
@ -1695,7 +1695,7 @@ kill_thread(unsigned long tid)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < n_threads; ++i) {
|
||||
for (i = 0; i <= n_threads; ++i) {
|
||||
if(thread_data[i].remote_tid == tid){
|
||||
pthread_kill(thread_data[i].thread_id, LOCALSIG);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user