libkse and SMP (was Re: USB bulk read & pthreads)
julian at elischer.org
Fri May 23 11:15:49 PDT 2003
On Fri, 23 May 2003, Terry Lambert wrote:
> Daniel Eischen wrote:
> This is handy to know; so basically, my expectation from
> reading the code around PTHREAD_SCOPE_SYSTEM was correct:
> a single CPU system with PTHREAD_SCOPE_PROCESS (the default)
> can still get itself blocked in the kernel by a single
> blocking call (as in the USB bulk read device issue).
No you are completely wrong..
Each PTHREAD_SCOPE_PROCESS gets its OWN KSE to run on.
that thread may block but other threads may run unimpeded.
More information about the freebsd-hackers