📄 hal_add_funct_to_thread.3hal
字号:
.TH hal_add_funct_to_thread "3hal" "2006-10-12" "EMC Documentation" "HAL".SH NAMEhal_add_funct_to_thread \- one-line description of hal_add_funct_to_thread.SH SYNTAX.HPint hal_add_funct_to_thread(char *\fIfunct_name\fR, char *\fIthread_name\fR, int position)int hal_del_funct_from_thread(char *\fIfunct_name\fR, char *\fIthread_name\fR).SH ARGUMENTS.IP \fIfunct_name\fRThe name of the function.IP \fIthread_name\fRThe name of the thread.IP \fIposition\fRThe desired location within the thread. This determines when the function willrun, in relation to other functions in the thread. A positive number indicatesthe desired location as measured from the beginning of the thread, and anegative is measured from the end. So +1 means this function will become thefirst one to run, +5 means it will be the fifth one to run, -2 means it will benext to last, and -1 means it will be last. Zero is illegal. .SH DESCRIPTION\fBhal_add_funct_to_thread\fR adds a function exported by a realtime HALcomponent to a realtime thread. This determines how often and in what orderfunctions are executed. \fBhal_del_funct_from_thread\fR removes a function from a thread..SH RETURN VALUEReturns a HAL status code..SH REALTIME CONSIDERATIONSCall only from realtime init code, not from user space or realtime code..SH SEE ALSO\fBhal_thread_new(3hal)\fR, \fBhal_export_funct(3hal)\fR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -