On Friday 09 February 2001 01:52, Amit Mookerjee wrote:
> > > 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
No pthread_create() call at all, that is...?
> > 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.
Ok. How does your user space application become aware of the incoming data?
Have you checked if there actually are IRQs coming in, even if you don't see
any data?
//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/