Re: threading problems

From: Julian Elischer <julian_at_elischer.org>
Date: Sun, 31 Aug 2003 22:52:35 -0700 (PDT)
On Mon, 1 Sep 2003, [iso-8859-1] RMH wrote:

> Oh yes, user threading doesn't support multiple CPUs... Thanks for
> pointing me.
> 
> Both libkse and libthr work with that code snippet, but Viewperf
> when linked against any of them locks my machine pretty deadly.
> With Linuxthreads it just segfaults ;)

you probably need to upgrade to 5.1-current
as 5.1 thread support was very green. Lots of bugs fixed since then

also  threading questions to threads_at_....


> 
> ---
> Regards,
>  Rhett
> 
> Dan Nelson wrote:
> > 
> > In the last episode (Sep 01), RMH said:
> > > Hello gentlemen,
> > >
> > > I seem to have threading problems with 5.1-RELEASE. Every time I run
> > > a multithreaded application (linked against libc_r) on a SMP system,
> > > I get only 1 CPU loaded at any moment given. I tried different
> > 
> > Correct.  libc_r is a userland threading library, which means that all
> > threads run as a single plain process.  Linuxthreads forks a new
> > process for each thread.  Try linking with -lkse or -lthr; both of
> > these threading libraries allow multiple threads to run simultaneously
> > on multiple CPUs.
> > 
> > --
> >         Dan Nelson
> >         dnelson_at_allantgroup.com
> 
> ________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://uk.messenger.yahoo.com/
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Sun Aug 31 2003 - 20:52:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC