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

Attachment: pgpYL0KsZKoAU.pgp
Description: PGP signature

Reply via email to