Re: Using ifnet pointers safely
Re: Using ifnet pointers safely
- Subject: Re: Using ifnet pointers safely
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 25 Oct 2002 11:03:20 +0200
On Friday, October 25, 2002, at 02:17 AM, Michael Cashwell wrote:
And lastly, whatever the solution to that is ("kernel threads can't be
preempted" or "use splnet() / splx()", or something else), what about
paths into my NKE that are really user threads that have called into
the kernel (through the network stack)? (Can that happen or is
everything in the kernel run on a kernel thread with the "call" handled
via a kernel thread blocking on a queue?) If it can happen, do I need
to consider such threads as different from native kernel threads as far
as preemption in my NKE goes?
If I remember correctly what I saw in xnu, splnet and splx are just
doing nothing.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.