mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 18:24:48 +00:00
Check unix_pid again after attach.
This commit is contained in:
parent
93c3faef94
commit
8ba769f45f
@ -168,6 +168,7 @@ void stop_thread( struct thread *thread )
|
||||
if (!thread->attached)
|
||||
if (attach_thread( thread )) return; /* this will have stopped it */
|
||||
/* attached already, or attach failed -> send a signal */
|
||||
if (!thread->unix_pid) return;
|
||||
kill( thread->unix_pid, SIGSTOP );
|
||||
if (thread->attached) wait4_thread( thread, SIGSTOP );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user