Subject: Re: SA LWPs and voluntary preempt() calls
To: Kamal R Prasad <kamalrpr@in.ibm.com>
From: Stephan Uphoff <ups@stups.com>
List: tech-kern
Date: 06/11/2003 11:55:54
"Kamal R Prasad" wrote:
> Is netbsd-current a pre-emptive kernel?

No

> at what pts does pre-emption take place?

Normally in the trap/interrupt handler just before the LWP 
returns to user space.
A few potentially time consuming kernel functions also check 
if the LWP should be preempted.
System calls for yielding the processor.

> is there a POSIX-compliant interface for binding to an LWP?

Binding threads to LWPs ?
No.
I think that has been discussed before (last year?) - you might 
want to check the mail archives.


	Stephan