libkse and SMP (was Re: USB bulk read & pthreads)
Terry Lambert
tlambert2 at mindspring.com
Thu May 22 09:19:53 PDT 2003
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
More information about the freebsd-hackers
mailing list