On Thursday 08 February 2001 20:47, Amit Mookerjee wrote:
> Hi David,
> I do not plan to use a start_routine() function.

[...]

>    return pthread_create (&thread, 0, 0, 0);
                             ^^^^^^^^^^^^^^
Why create a thread with no code to execute? :-)


Is it possible that this call fails, resulting in the module automatically 
being removed directly after insertion...?

(AFAIK, Linux would still call the cleanup function, which would cleanly 
uninstall your handler, provided you implemented it correctly.)


//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/

Reply via email to