diff options
Diffstat (limited to 'sysdeps/mach/pt-wakeup.c')
-rw-r--r-- | sysdeps/mach/pt-wakeup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/pt-wakeup.c b/sysdeps/mach/pt-wakeup.c index 4920d10..95fdbf9 100644 --- a/sysdeps/mach/pt-wakeup.c +++ b/sysdeps/mach/pt-wakeup.c @@ -31,8 +31,8 @@ __pthread_wakeup (struct __pthread *thread) { error_t err; - err = __mach_msg (&thread->wakeupmsg, MACH_SEND_MSG, + err = __mach_msg (&thread->wakeupmsg, MACH_SEND_MSG | MACH_SEND_TIMEOUT, sizeof (thread->wakeupmsg), 0, MACH_PORT_NULL, - MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); + 0 , MACH_PORT_NULL); assert_perror (err); } |