Commit ae4ecb6c authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 8891d6de
......@@ -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);
}
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment