diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-02-26 13:30:50 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-02-26 13:30:50 +0000 |
commit | bf544a1c94a9d70e2e2908ad25d0ef0737d42d0f (patch) | |
tree | 44f23a72291e24b6010301ca8d6f45a6a80058a4 | |
parent | 9c90ede463a7a2295cecae436c94e0aa094feccf (diff) |
uninitialised fields
-rw-r--r-- | lib/libc_r/uthread/uthread_init.c | 4 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_init.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_init.c b/lib/libc_r/uthread/uthread_init.c index 6b35532164b..ef5a1bbd9f2 100644 --- a/lib/libc_r/uthread/uthread_init.c +++ b/lib/libc_r/uthread/uthread_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_init.c,v 1.11 2000/01/06 07:18:26 d Exp $ */ +/* $OpenBSD: uthread_init.c,v 1.12 2000/02/26 13:30:49 d Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -252,6 +252,8 @@ _thread_init(void) _thread_initial->poll_data.nfds = 0; _thread_initial->poll_data.fds = NULL; _thread_initial->sig_defer_count = 0; + _thread_initial->slice_usec = -1; + _thread_initial->sig_saved = 0; _thread_initial->yield_on_sig_undefer = 0; _thread_initial->specific_data = NULL; _thread_initial->cleanup = NULL; diff --git a/lib/libpthread/uthread/uthread_init.c b/lib/libpthread/uthread/uthread_init.c index 6b35532164b..ef5a1bbd9f2 100644 --- a/lib/libpthread/uthread/uthread_init.c +++ b/lib/libpthread/uthread/uthread_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_init.c,v 1.11 2000/01/06 07:18:26 d Exp $ */ +/* $OpenBSD: uthread_init.c,v 1.12 2000/02/26 13:30:49 d Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -252,6 +252,8 @@ _thread_init(void) _thread_initial->poll_data.nfds = 0; _thread_initial->poll_data.fds = NULL; _thread_initial->sig_defer_count = 0; + _thread_initial->slice_usec = -1; + _thread_initial->sig_saved = 0; _thread_initial->yield_on_sig_undefer = 0; _thread_initial->specific_data = NULL; _thread_initial->cleanup = NULL; |