[okl4-developer] WaitNotify()
Ryan Heffernan
ryan.heffernan at nicta.com.au
Tue Feb 26 10:31:31 EST 2008
Good morning,
I've currently got an infinite loop that I want to execute every 25 ms.
I have set up a periodic request in the vtimer and have confirmed that
the vtimer is indeed sending an L4_Notify call every 25 ms. In my loop I
use an L4_WaitNotify() call to block the thread until it receives a
timer interrupt, but this doesn't work and the loop just executes
constantly, hogging up the entire machine. I just wanted to check with
you guys that the WaitNotify system call should actually be blocking
until it receives the notify. Also, when I take a look at the tcb of the
thread containing this loop, the E flag in the message register is set
and it gives me error code 11. Do you know what this means? The manual
only has error codes 1-9 :).
Thanks,
Ryan
More information about the Developer
mailing list