diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-12-29 23:21:09 +0000 | 
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-12-29 23:21:09 +0000 | 
| commit | 02eead1d0a61242b863cd813b59eca6e4d4b8a04 (patch) | |
| tree | e2ab7b024b94d440af7be0888fe6e9a4498d59b5 /lib/libpthread/thread/thr_create.c | |
| parent | af07821e5e1aa06bee25143ee6257a84da0932fe (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_create.c')
| -rw-r--r-- | lib/libpthread/thread/thr_create.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c index eef58067edbe..b82f1809a27c 100644 --- a/lib/libpthread/thread/thr_create.c +++ b/lib/libpthread/thread/thr_create.c @@ -252,6 +252,9 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,  			sigemptyset(&new_thread->sigpend);  			new_thread->check_pending = 0;  			new_thread->locklevel = 0; +			new_thread->sigstk.ss_sp = 0; +			new_thread->sigstk.ss_size = 0; +			new_thread->sigstk.ss_flags = SS_DISABLE;  			if (new_thread->attr.suspend == THR_CREATE_SUSPENDED) {  				new_thread->state = PS_SUSPENDED;  | 
