Date: Thu, 12 Aug 2004 12:12:13 +0000 (UTC) From: Daniel Eischen <deischen@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/thread thr_create.c thr_exit.c thr_init.c thr_kern.c Message-ID: <200408121212.i7CCCDjx020280@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408121212.i7CCCDjx020280>
