When a realtime module is first loaded, its rtapi_app_main is called.

In the case of emc2 running on rtai, this is simply accomplished by
using the preprocessor to expand rtapi_app_mai to init_module, which the
linux kernel calls when loading a module -- see rtapi_app.h:
 17 #define rtapi_app_main(a) init_module(a)
 18 #define rtapi_app_exit(a) cleanup_module(a)

Jeff

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to