[openbeos] Re: Calling an Interrupt from within a Driver
From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
To: openbeos@xxxxxxxxxxxxx
Date: Mon, 25 Sep 2006 11:29:52 +0200 CEST
"François Revol" <revol@xxxxxxx> wrote:
> // optionally trigger a resched
> if (err == B_INVOKE_SCHEDULER)
> snooze(1); // not sure it's the best way
There is now a thread_yield() function in Haiku that should be used in
that case.
Bye,
Axel.