On Tue, Jan 30, 2001 at 12:18:28AM -0500, Rich wrote:
> Excuse me for butting in, but how would this work? What happens when the
> user-space task dies or is terminated between passing the address of the
> function to the RT task and its calling the function? Isn't the user-space
> address illegal as far as the RT task is concerned (unless you share it)?

        What we do is basically have an RTLinux thread that runs the user
space code.  If it finds that the address of the function to run (the user
space code) is no longer valid, it gives up and prints out an error message.
In other words, the user space address is legal until we find out it isn't.
You could pass in a NULL pointer from the beginning and PSC wouldn't run it.
-- [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