mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
* hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port rather than doing a mach_port_insert_right call first.
This commit is contained in:
parent
bc68392b1f
commit
90f9eba7d2
@ -1,3 +1,9 @@
|
||||
2001-07-04 Roland McGrath <roland@frob.com>
|
||||
|
||||
* hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
|
||||
wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
|
||||
rather than doing a mach_port_insert_right call first.
|
||||
|
||||
2001-06-26 Roland McGrath <roland@frob.com>
|
||||
|
||||
* hurd/hurdioctl.c: Include <string.h> for memcpy decl.
|
||||
|
@ -1014,11 +1014,7 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
|
||||
/* There is a sigsuspend waiting. Tell it to wake up. */
|
||||
error_t err;
|
||||
mach_msg_header_t msg;
|
||||
err = __mach_port_insert_right (__mach_task_self (),
|
||||
ss->suspended, ss->suspended,
|
||||
MACH_MSG_TYPE_MAKE_SEND);
|
||||
assert_perror (err);
|
||||
msg.msgh_bits = MACH_MSGH_BITS (MACH_MSG_TYPE_MOVE_SEND, 0);
|
||||
msg.msgh_bits = MACH_MSGH_BITS (MACH_MSG_TYPE_MAKE_SEND, 0);
|
||||
msg.msgh_remote_port = ss->suspended;
|
||||
msg.msgh_local_port = MACH_PORT_NULL;
|
||||
/* These values do not matter. */
|
||||
|
Loading…
Reference in New Issue
Block a user