diff options
Diffstat (limited to 'posix/fork.c')
-rw-r--r-- | posix/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/fork.c b/posix/fork.c index e1be3422ea..987916a175 100644 --- a/posix/fork.c +++ b/posix/fork.c @@ -45,7 +45,7 @@ __libc_fork (void) requirement for fork (Austin Group tracker issue #62) this is best effort to make is async-signal-safe at least for single-thread case. */ - bool multiple_threads = __libc_single_threaded == 0; + bool multiple_threads = __libc_single_threaded_internal == 0; uint64_t lastrun; lastrun = __run_prefork_handlers (multiple_threads); |