Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Aug 2004 06:26:00 +0800
From:      David Xu <davidxu@freebsd.org>
To:        deischen@freebsd.org
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: A way to build and install libpthread as 1:1 as well as M:N?
Message-ID:  <41140578.6060009@freebsd.org>
In-Reply-To: <Pine.GSO.4.10.10408061613340.19298-100000@pcnet5.pcnet.com>
References:  <Pine.GSO.4.10.10408061613340.19298-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote:

>Well, it didn't add much to the library to allow either 1:1 or M:N.
>Here's a patch that lets you run in 1:1 mode if LIBPTHREAD_SYSTEM_SCOPE
>is defined in the environment.  I'm not stuck on its name, so feel
>free to suggest something else.
>
>  http://people.freebsd.org/~deischen/kse/libpthread.diffs
>
>Warning (*), you can still force 1:1 mode if you build the library
>with -DSYSTEM_SCOPE_ONLY, so be sure to remove this when rebuilding
>libpthread.
>
>(*) I think it's still useful for archs that don't run in M:N yet.
>
>  
>
Looks fine to me, please go ahead.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41140578.6060009>