I read in several comp.c sources that functions in the comps get passed (void *arg, long period).

I have not found docs explaining this,

but guess *arg is the 'config string',

and that period is the period of the thread the comp is attached to.

is this correct?

Thanks TomP

examples:

boss_plc.c             Plc_Refresh(void *arg, long period)

counter.c             static void capture(void *arg, long period)

debounce.c         static void debounce(void *arg, long period)

etc



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to