server: Print a trace when sending a signal to a thread.

This commit is contained in:
Alexandre Julliard 2007-01-18 12:23:29 +01:00
parent 8891d6de48
commit ae4ecb6c64
2 changed files with 4 additions and 0 deletions

View File

@ -243,6 +243,8 @@ int send_thread_signal( struct thread *thread, int sig )
thread->unix_tid = -1;
}
}
if (debug_level && ret != -1)
fprintf( stderr, "%04x: *sent signal* signal=%d\n", thread->id, sig );
return (ret != -1);
}

View File

@ -262,6 +262,8 @@ int send_thread_signal( struct thread *thread, int sig )
thread->unix_tid = -1;
}
}
if (debug_level && ret != -1)
fprintf( stderr, "%04x: *sent signal* signal=%d\n", thread->id, sig );
return (ret != -1);
}