commit 6e42f7e2096165a28bab14a23c399e4b1a8bb531
Author: zrj <[email protected]>
Date: Tue Dec 15 06:27:09 2020 +0000
world: Add <sys/single_threaded.h>
The __libc_single_threaded is publicly exported version of libc private
__isthreaded symbol that does not reset on fork in threaded programs.
Summary of changes:
lib/libc/gen/Symbol.map | 1 +
lib/libc/stdlib/exit.c | 7 ++++++
lib/libthread_xu/thread/thr_kern.c | 3 +++
.../sys/single_threaded.h | 26 +++++++++++++---------
4 files changed, 26 insertions(+), 11 deletions(-)
copy lib/libthread_xu/thread/thr_isthreaded_np.c => sys/sys/single_threaded.h
(79%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e42f7e2096165a28bab14a23c399e4b1a8bb531
--
DragonFly BSD source repository