hal_add_funct_to_thread(3hal) | HAL | hal_add_funct_to_thread(3hal) |
hal_add_funct_to_thread - cause a function to be executed at regular intervals
int hal_add_funct_to_thread(const char *funct_name, const char *thread_name, int position)
int hal_del_funct_from_thread(const char *funct_name, const char *thread_name)
hal_add_funct_to_thread adds a function exported by a realtime HAL component to a realtime thread. This determines how often and in what order functions are executed.
hal_del_funct_from_thread removes a function from a thread.
Returns a HAL status code.
Call only from realtime init code, not from other realtime or non-realtime code.
hal_thread_new(3hal), hal_export_funct(3hal)
2006-10-12 | LinuxCNC Documentation |