cvs commit: src/lib/libpthread/thread thr_create.c thr_exit.c
thr_init.c thr_kern.c
Daniel Eischen
deischen at FreeBSD.org
Thu Aug 12 05:12:13 PDT 2004
deischen 2004-08-12 12:12:13 UTC
FreeBSD src repository
Modified files:
lib/libpthread/thread thr_create.c thr_exit.c thr_init.c
thr_kern.c
Log:
As long as we have a knob to force system scope threads, why not have
a knob to force process scope threads. If the environment variable
LIBPTHREAD_PROCESS_SCOPE is set, force all threads to be process
scope threads regardless of how the application creates them. If
LIBPTHREAD_SYSTEM_SCOPE is set (forcing system scope threads), it
overrides LIBPTHREAD_PROCESS_SCOPE.
$ # To force system scope threads
$ LIBPTHREAD_SYSTEM_SCOPE=anything threaded_app
$ # To force process scope threads
$ LIBPTHREAD_PROCESS_SCOPE=anything threaded_app
Revision Changes Path
1.57 +4 -1 src/lib/libpthread/thread/thr_create.c
1.38 +2 -2 src/lib/libpthread/thread/thr_exit.c
1.65 +3 -1 src/lib/libpthread/thread/thr_init.c
1.111 +4 -4 src/lib/libpthread/thread/thr_kern.c
More information about the cvs-src
mailing list