From: Ulrich Drepper Date: Tue, 20 May 1997 23:51:55 +0000 (+0000) Subject: (_hurdsig_preemptors): Provide initialization. X-Git-Tag: cvs/libc-2_0_4~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71584f8abc3d13dda551bcbb0de2f5c88bf72556;p=thirdparty%2Fglibc.git (_hurdsig_preemptors): Provide initialization. (_hurdsig_init): Double size of sigthread stack; msg_add_auth was overflowing it. --- diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 6ebd7bed14a..f50daa2f8f1 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -426,7 +426,7 @@ abort_all_rpcs (int signo, struct machine_thread_all_state *state, int live) } } -struct hurd_signal_preemptor *_hurdsig_preemptors; +struct hurd_signal_preemptor *_hurdsig_preemptors = 0; sigset_t _hurdsig_preempted_set; /* XXX temporary to deal with spelling fix */ @@ -1194,7 +1194,7 @@ _hurdsig_init (void) err = __thread_create (__mach_task_self (), &_hurd_msgport_thread); assert_perror (err); - stacksize = __vm_page_size * 4; /* Small stack for signal thread. */ + stacksize = __vm_page_size * 8; /* Small stack for signal thread. */ err = __mach_setup_thread (__mach_task_self (), _hurd_msgport_thread, _hurd_msgport_receive, (vm_address_t *) &__hurd_sigthread_stack_base,