diff options
author | jb <jb@FreeBSD.org> | 1998-11-15 09:58:26 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-11-15 09:58:26 +0000 |
commit | 3715314d366a89dbd7df6124d745c95e1bdde448 (patch) | |
tree | 9a0fe180209378fbce78fde57445392dcdc88fc5 /lib/libpthread/thread/thr_private.h | |
parent | ffd97e5342d926be2f35b764575b61c28801658c (diff) | |
download | FreeBSD-src-3715314d366a89dbd7df6124d745c95e1bdde448.zip FreeBSD-src-3715314d366a89dbd7df6124d745c95e1bdde448.tar.gz |
Close a window between unlocking a spinlock and changing the thread state.
Diffstat (limited to 'lib/libpthread/thread/thr_private.h')
-rw-r--r-- | lib/libpthread/thread/thr_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 04600cf..e73f4f1 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -654,6 +654,8 @@ void _thread_dump_info(void); void _thread_init(void); void _thread_kern_sched(struct sigcontext *); 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); void _thread_kern_set_timeout(struct timespec *); void _thread_sig_handler(int, int, struct sigcontext *); void _thread_start(void); |