On Mon, 13 Jun 2005, Pete French wrote:

> > You can set the environment variable LIBPTHREAD_SYSTEM_SCOPE to force
> > libpthread to use system scope.  This is easier than rebuilding libpthread
> > (with SYSTEM_SCOPE_ONLY defined) and allows you to use M:N for some
> > applications and 1:1 for others.
>
> Is the sysctl kern.threads.thr_scope_sys supposed to achieve the same
> thing ? using the environment variable solves a different problem I
> have, but setting the sysctl doesn't. Is there any way to force pthreads
> to system scope by default ?

kern.threads.thr_scope_sys is for libthr only.

Reread the above for the answer to your last question.

-- 
DE

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to