diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-04-07 01:27:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-04-07 01:27:08 +0000 |
commit | 88c62139002b1fec001c04b3594a04d1bbfb1342 (patch) | |
tree | 0509c1476b98d3b86a67ed3837dd2dd5f29944de /lib/libc/thread/Makefile.inc | |
parent | 1e37072b7b75ac23dc21e9d893b197aab716875c (diff) |
Make pthread_atfork() track the DSO that called it like atexit() does,
unregistering callbacks if the DSO is unloaded. Move the callback
handling from libpthread to libc, though libpthread still overrides the
inner call to handle locking and thread-library reinitialization.
Major version bump for both libc and libpthread.
verification that this fixes various ports ajacoutot@
asm assistance miod@; ok millert@ deraadt@
Diffstat (limited to 'lib/libc/thread/Makefile.inc')
-rw-r--r-- | lib/libc/thread/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/thread/Makefile.inc b/lib/libc/thread/Makefile.inc index 248e6ede8cf..b5d3cb147dc 100644 --- a/lib/libc/thread/Makefile.inc +++ b/lib/libc/thread/Makefile.inc @@ -1,5 +1,5 @@ -# $OpenBSD: Makefile.inc,v 1.8 2014/07/16 20:02:17 okan Exp $ +# $OpenBSD: Makefile.inc,v 1.9 2015/04/07 01:27:07 guenther Exp $ .PATH: ${LIBCSRCDIR}/thread -SRCS+= unithread_malloc_lock.c unithread_mutex.c unithread_tag.c +SRCS+= unithread_malloc_lock.c unithread_mutex.c unithread_tag.c atfork.c |