>Date: Fri, 05 Nov 1999 17:24:45 +0100
>From: Peter Wurmsdobler <[EMAIL PROTECTED]>
>Subject: [rtl] probably some misunderstanding
>
>...
>
>1. In the above example it seems that rt_task_wakeup( &measure )
>is just a function call. I thought that rt_task_wakeup( &measure )
>will just set the task to READY, then start the scheduler who
>will set some registers such that after the isr the processor
>starts at the task's address. Is this wrong?
That would be my guess too. However, that doesn't seem to be
a problem, since you can move rt_task_wakeup( &measure ) to the
very end of th ISR.
>2. If measure_lock = 0 at the end of the measure task,
>then the next time ((daq_couter % 2) == 0), it should be
>restarted. I am wrong?
I can only think of "silly" mistakes, such as: is measure_lock
a global variable? is daq_counter % (shm->down_sampling) really
equal to 0?
Can you print more information?
Guilherme
-------------< G. N. DeSouza >-------------
---------< [EMAIL PROTECTED]>---------
--< http://rvl1.ecn.purdue.edu/~gnelson >--
--- [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/