Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 09:18:29 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Julian Elischer <julian@elischer.org>
Subject:   Re: libkse and SMP (was Re: USB bulk read & pthreads)
Message-ID:  <3ECCF855.6A0E8830@mindspring.com>
References:  <20030522042922.GC13024@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:
> In the last episode (May 21), Daniel Eischen said:
> > FYI, libpthread is now being installed (for x86 archs) by default
> > in -current and will be in 5.1-release.  It's currently installed
> > as libkse (use -lkse, not -pthread) and will be changed to libpthread
> > (-lpthread) for 5.2-release.
> 
> I've not had luck with either libkse or libthr on my SMP machine.  The
> apps either hang or the system locks hard (can't even break into DDB
> from serial console).  Are you just concentrating on UP first, or
> should libkse work on SMP too?  The last time I tried was the end of
> April.

Make sure you use SCHED_4BSD, rather than SCHED_ULE, if you
are using one of the kernel threads libraries, for now.

You really should read the -current archives before attempting
any of this, if you don't follow -current closely enough to
have caught Jeff's message on this, or which kernel threading
libraries are available.

-- Terry



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