HEADS UP! 6.0-RELEASE coming
Marc Olzheim
marcolz at stack.nl
Tue Nov 1 05:02:48 PST 2005
On Tue, Nov 01, 2005 at 06:33:21PM +0600, Max Khon wrote:
> Hi!
>
> On Tue, Nov 01, 2005 at 12:29:00PM +0100, Marc Olzheim wrote:
>
> > > Linking against -lthr (or even -lc_r!) instead of -lpthread solves gdb
> > > "The program no longer exists." problem for me on RELENG_6.
> >
> > Well, yes, but that's not the same. While running on M:N KSE, all sorts
> > of locking needs to be correct, which with non M:N threading you can get
> > away with some (intentional or not) sloppiness. So debugging a fully
> > threaded program with a non M:N threadlib is not always useful.
>
> I do not think that maintaining M:N thread lib is feasible, given the lack
> of resources. Solaris has already moved from M:N to 1:1. Linux (NPTL) is 1:1
> as well.
Well, each threading system has it's own application. Having an easy way
to have one multithreaded process use multiple CPUs is a big win in any
case. Especially in computationally intensive tasks...
Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051101/8213b4b1/attachment.bin
More information about the freebsd-stable
mailing list