> > return pthread_create (&thread, 0, 0, 0);
^^^^^^^^^^^^^^
> Why create a thread with no code to execute? :-)
That's a typo. I actually do a return 0
> Is it possible that this call fails, resulting in the module automatically
> being removed directly after insertion...?
The module gets inserted properly. I check the status code and doing a dmesg
also shows that the interrupt handler gets invoked once.
Amit
> (AFAIK, Linux would still call the cleanup function, which would cleanly
> uninstall your handler, provided you implemented it correctly.)
>
>
> file://David
>
> .- M A I A -------------------------------------------------.
> | Multimedia Application Integration Architecture |
> | A Free/Open Source Plugin API for Professional Multimedia |
> `----------------------> http://www.linuxaudiodev.com/maia -'
> .- David Olofson -------------------------------------------.
> | Audio Hacker - Open Source Advocate - Singer - Songwriter |
> `--------------------------------------> [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/
>
>
-- [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/