diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-02-21 20:57:42 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-02-21 20:57:42 +0000 |
commit | 2f058413cfe2577ff949673b79467acaae6f84c1 (patch) | |
tree | 0c9d440e06384240ef50d379819479a1f78f34d2 /lib/libpthread/uthread/pthread_private.h | |
parent | 69c8245eaa9f927875fe309a24813a09c66d79ca (diff) |
account for the process signal mask when dealing with signals; tested
a while ago by marc@ and brad@
Diffstat (limited to 'lib/libpthread/uthread/pthread_private.h')
-rw-r--r-- | lib/libpthread/uthread/pthread_private.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h index cc9abefa7c6..23723ca68e0 100644 --- a/lib/libpthread/uthread/pthread_private.h +++ b/lib/libpthread/uthread/pthread_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread_private.h,v 1.34 2002/01/19 23:49:32 fgsch Exp $ */ +/* $OpenBSD: pthread_private.h,v 1.35 2002/02/21 20:57:41 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -997,6 +997,16 @@ SCLASS struct sigaction _thread_sigact[NSIG]; SCLASS int _thread_dfl_count[NSIG]; /* + * Pending signals and mask for this process: + */ +SCLASS sigset_t _process_sigpending; +SCLASS sigset_t _process_sigmask +#ifdef GLOBAL_PTHREAD_PRIVATE += 0 +#endif +; + +/* * Scheduling queues: */ SCLASS pq_queue_t _readyq; @@ -1098,6 +1108,7 @@ void _thread_cleanupspecific(void); void _thread_dump_info(void); void _thread_init(void); void _thread_kern_sched(struct sigcontext *); +void _thread_kern_sched_sig(void); void _thread_kern_sched_state(enum pthread_state,char *fname,int lineno); void _thread_kern_sched_state_unlock(enum pthread_state state, spinlock_t *lock, char *fname, int lineno); |