On Wed, Jun 21, 2000 at 11:53:27AM +0100, Stuart Hughes wrote:
> Arnaud Westenberg wrote:
> The real question is if I have an ISR whos only task is to wake up a
> thead, what happens:
You have a choice.
>
> a) enter ISR, wakeup thread, thread code runs, return to ISR, exit ISR
>
pthread_wakeup_np(thread)
if "thread" is higher priority than the current thread, whatever
it may be, then we switch and run the thread, and return to this
thread later and then exit the ISR.
> or:
>
> b) enter ISR, wakeup thread, exit ISR, thead code runs.
pthread_kill(thread,RTL_SIG_WAKEUP)
or
pthread_mutex_unlock(m);
executes pthread_kill on all waiting threads.
> I'm saying that b) is more conventional, and I would like to have this
> facility available.
You are a lucky man.
-- [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/
- RE: [rtl] Floating point in "restricted" code Stephen D. Cohen
- Re: [rtl] Floating point in "restricted" ... Stuart Hughes
- Re: [rtl] Floating point in "restricted" ... Victor Yodaiken
- RE: [rtl] Floating point in "restricted" code Stephen D. Cohen
- Re: [rtl] Floating point in "restricted" ... Paolo Mantegazza
- Re: [rtl] Floating point in "restricted" ... eric keller
- Re: [rtl] Floating point in "restricted&qu... Stuart Hughes
- Re: [rtl] Floating point in "restricte... Arnaud Westenberg
- Re: [rtl] Floating point in "restr... Stuart Hughes
- Re: [rtl] Floating point in "... Paolo Mantegazza
- Re: [rtl] Floating point in "... Victor Yodaiken
- Re: [rtl] Floating point in "restricted&qu... Victor Yodaiken
- RE: [rtl] Floating point in "restricted" code Stephen D. Cohen
- RE: [rtl] Floating point in "restricted" code Stephen D. Cohen
- Re: [rtl] Floating point in "restricted" ... Stuart Hughes
- Re: [rtl] Floating point in "restricted&qu... Victor Yodaiken
- Re: [rtl] Floating point in "restricte... Stuart Hughes
