diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-05-20 23:51:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-05-20 23:51:55 +0000 |
commit | 71584f8abc3d13dda551bcbb0de2f5c88bf72556 (patch) | |
tree | fd46f432bea2e2e3dc9478185b231e9c9f8cdabe /hurd | |
parent | 26765111ad5641c61350db85968405c646f39a04 (diff) |
(_hurdsig_preemptors): Provide initialization.
(_hurdsig_init): Double size of sigthread stack; msg_add_auth was
overflowing it.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/hurdsig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 6ebd7bed14..f50daa2f8f 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, |