2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>

* hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
2001-07-07  Roland McGrath  <roland@frob.com>

	* hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
This commit is contained in:
Roland McGrath 2001-07-11 21:15:50 +00:00
parent 0e2bd6fdac
commit e8bceaee41

View File

@ -91,7 +91,7 @@ _hurd_thread_sigstate (thread_t thread)
__sigemptyset (&ss->pending);
memset (&ss->sigaltstack, 0, sizeof (ss->sigaltstack));
ss->preemptors = NULL;
ss->suspended = 0;
ss->suspended = MACH_PORT_NULL;
ss->intr_port = MACH_PORT_NULL;
ss->context = NULL;
@ -1243,7 +1243,6 @@ _hurdsig_init (const int *intarray, size_t intarraysize)
err = __thread_create (__mach_task_self (), &_hurd_msgport_thread);
assert_perror (err);
stacksize = ~__hurd_threadvar_stack_mask + 1;
stacksize = __vm_page_size * 8; /* Small stack for signal thread. */
err = __mach_setup_thread (__mach_task_self (), _hurd_msgport_thread,
_hurd_msgport_receive,