server: Print a trace when sending a signal to a thread.
This commit is contained in:
parent
8891d6de48
commit
ae4ecb6c64
|
@ -243,6 +243,8 @@ int send_thread_signal( struct thread *thread, int sig )
|
||||||
thread->unix_tid = -1;
|
thread->unix_tid = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (debug_level && ret != -1)
|
||||||
|
fprintf( stderr, "%04x: *sent signal* signal=%d\n", thread->id, sig );
|
||||||
return (ret != -1);
|
return (ret != -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -262,6 +262,8 @@ int send_thread_signal( struct thread *thread, int sig )
|
||||||
thread->unix_tid = -1;
|
thread->unix_tid = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (debug_level && ret != -1)
|
||||||
|
fprintf( stderr, "%04x: *sent signal* signal=%d\n", thread->id, sig );
|
||||||
return (ret != -1);
|
return (ret != -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue