> Diagnostic printf-s show that the executing order is 1-3-2.
> This means, that priority of interrupt handler thread is not
> definitely higher than priority of the normal thread.
> When pthread_wakeup_np() reschedules threads, user_thread
> gets the control instead of it_handler.

I'm not a specialist, but inside userspace threads are not deterministic, that
means it could be 2-1-3 or 1-2-3 another time !! So you have to use mutex. The
priority (I have read the highest is up to 1Mio ????) has to do with the
scheduler behavior - which task have to schedule at first ??? But I'm not shure.

By      Olaf

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to