[openbeosnetteam] Re: Dragonfly or FreeBSD nestack? was Re: Mailing lists and network team questions

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Fri, 17 Mar 2006 16:47:19 +0100 CET

"Joseph Liu" <froseph@xxxxxxxxx> wrote:
> The only way I can see being unable to interrupt a thread with tokens
> is if the interrupt reqires the tokens. The only other part of api is
> critical sections which tell the interrput thread to reschedule after
> the critical section is over. Just wondering I have a misconception
> somewhere and what your thoughts are on the subject.

As stated by Matt Dillon, non-interrupt threads cannot be interrupted 
by other non-interrupt threads - that's not preemptive multi-threading, 
that's just like disabling interrupts on one CPU without the side 
effect of blocking real interrupts. That's why I referred to the big 
giant lock.

Bye,
   Axel.


Other related posts: