phil wilshire wrote:
>
> Hi,
> I too have had the same result.
> No time to look at it just yet.
> This is , I feel , a feature at the moment.
I checked out the rtl_fifo-code, if you remove a module while still
running the app, rtf_destroy() returns -EINVAL (=22), which indicates
that something went wrong, but since I get this in cleanup_module it's
to late to do something against it.
As the simplest solution (for now and for me...) I modified rtl_fifo.c
to close the FIFO like it's closed when everything was ok (in
rtl_fifo.c,
function rtf_destroy...) and made a simple if-statement in rtf_write
to return -1 since the FIFO is not open any more in this case.
It seems to work but I have to check the behavior and consequences
for a longer time because this was an trial & error solution and I
don't have the time to dig deep into the RTL sources...
-------------------------------------------------------------------------
Gernot Moertl
[EMAIL PROTECTED]
--- [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/