Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 11:18:08 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: basic thread question
Message-ID:  <Pine.BSF.4.21.0305231116590.92012-100000@InterJet.elischer.org>
In-Reply-To: <08c401c32143$7843a390$c02a40c1@PETEX31>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 23 May 2003, Petri Helenius wrote:

> > 
> > Either link to libkse or libthr (-lkse or -lthr).  Don't use
> > libc_r (-pthread or -lc_r).  Libkse will set the concurrency
> > to the number of CPUs in your system.  You can also use
> > scope system threads with libkse.
> > 
> > libthr will create each thread in its own KSE, and is more
> > like Linuxthreads (1:1) model.  libkse is M:N.
> > 
> As far as my experience shows linuxthreads has issues with mutexes on an SMP
> machine (at least when running on FreeBSD). 
> 
> I actually tried -lkse on a machine with kernel about two weeks old, 
> so far I have not been able to reach the machine since ...
> 
> Will try again on more local box, because it does not seem to crash to console
> debugger but just plain out "die".

Also make sure you have newest code..

We do have a problem where the system seems to crash but it's not at all
reproducible and I'm pulling my hair out trying to find it..

> 
> Pete
> 
> _______________________________________________
> freebsd-threads@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
> 



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