On Fri, 28 Apr 2000, daniel sheltraw wrote:
> All the RTL examples I have seen use only the init_module and cleanup_module
> methods in the module. Is there any reason why one
> should not do initializations in init_module and timer/task starts in
> open or read/write methods (release and cleanup_module for closing)?
> Of course one would write an actual character device driver and
> create a device node.
Putting things in init_module is just simpler. But you can do
everything in open or read/write methods as well - they are not RT, you can
allocate memory, etc.
Best regards,
--
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/