diff options
author | 2003-05-13 16:49:32 +0000 | |
---|---|---|
committer | 2003-05-13 16:49:32 +0000 | |
commit | bc6a884eab043ee1b5a223a72bda065a48f0fede (patch) | |
tree | 136aac78ec9a00085e9f795c58e2b623e87d94f0 /lib/libpthread/uthread/pthread_private.h | |
parent | De-hackify. Use proper defines now that we have EI_OSABI and ELFOSABI_FREEBSD (diff) | |
download | wireguard-openbsd-bc6a884eab043ee1b5a223a72bda065a48f0fede.tar.xz wireguard-openbsd-bc6a884eab043ee1b5a223a72bda065a48f0fede.zip |
Add support for blocking thread switches during dlopen and other
non-thread-safe dl functions. Only enabled for ELF architectures
at this time as needed dlxxx support has not yet been added to the
a.out run time loader.
'doesn't break xmms at least' tedu@. Tested by others with no comment
Diffstat (limited to 'lib/libpthread/uthread/pthread_private.h')
-rw-r--r-- | lib/libpthread/uthread/pthread_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h index 4a244e89075..f5950ee9367 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.45 2003/02/14 03:58:42 marc Exp $ */ +/* $OpenBSD: pthread_private.h,v 1.46 2003/05/13 16:49:32 marc Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -1095,6 +1095,7 @@ void _thread_clear_pending(int, pthread_t); void _thread_dump_data(const void *, int); void _thread_dump_info(void); void _thread_init(void); +void _thread_kern_lock(int); void _thread_kern_sched(struct sigcontext *); void _thread_kern_sched_state(enum pthread_state, const char *, int); void _thread_kern_sched_state_unlock(enum pthread_state, spinlock_t *, |