On Mon, 20 Dec 1999, Gernot Moertl wrote:
> Is this a bug or a feature: I'm doing more or less the usual stuff,
> exchanging data between a RT-module and a (user space) application
> by using shared memory (mbuff) and FIFOs.
> While testing I removed the RT-Module while the app is still running,
> which destroyed the two FIFOs I use (rtf_destroy().. in cleanup_module),
A bug. It should be not possible to remove the module while any FIFO is
open by some application. But since open/close events are not passed to
the RT module using FIFOs, then rtf_destroy should check whether the FIFO
is not still open and take some action. It should probably unregister
callback handler, but keep the whole FIFO structure in this case.
--
Tomek
--- [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/