git: world: Add <sys/single_threaded.h>
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Tue Dec 15 21:12:30 PST 2020
commit 6e42f7e2096165a28bab14a23c399e4b1a8bb531
Author: zrj <rimvydas.jasinskas at gmail.com>
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
More information about the Commits
mailing list