[openbeos] Re: Calling an Interrupt from within a Driver

"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.


Other related posts: