From bb026d4c9662199aa08ff0a12a2d7a5496701bf3 Mon Sep 17 00:00:00 2001 From: Bertho Stultiens Date: Mon, 28 Sep 2026 12:35:27 +0200 Subject: [PATCH] docs: Update man3 pages after uses_fp arg was removed in HAL API changes. --- docs/src/man/man3/hal_create_thread.3.adoc | 5 +---- docs/src/man/man3/hal_export_funct.3.adoc | 7 ++----- docs/src/man/man3/rtapi_task_new.3.adoc | 8 +++----- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/docs/src/man/man3/hal_create_thread.3.adoc b/docs/src/man/man3/hal_create_thread.3.adoc index 9289803f210..dbbc8d258ce 100644 --- a/docs/src/man/man3/hal_create_thread.3.adoc +++ b/docs/src/man/man3/hal_create_thread.3.adoc @@ -12,7 +12,7 @@ hal_create_thread - Create a HAL thread ---- #include -int hal_create_thread(const char *name, unsigned long period, int uses_fp); +int hal_create_thread(const char *name, unsigned long period); int hal_thread_delete(const char *name); ---- @@ -22,9 +22,6 @@ name:: The name of the thread. period:: The interval, in nanoseconds, between iterations of the thread. -uses_fp:: - Deprecated and ignored. All threads now unconditionally save and restore - floating point state. This parameter will be removed in a future version. == DESCRIPTION diff --git a/docs/src/man/man3/hal_export_funct.3.adoc b/docs/src/man/man3/hal_export_funct.3.adoc index 3ff00485fab..484cefbd145 100644 --- a/docs/src/man/man3/hal_export_funct.3.adoc +++ b/docs/src/man/man3/hal_export_funct.3.adoc @@ -14,8 +14,8 @@ hal_export_funct, hal_export_functf - create a realtime function callable from a typedef void(*hal_funct_t)(void *arg, long period); -int hal_export_funct(const char *name, hal_funct_t funct, void *arg, int uses_fp, int reentrant, int comp_id); -int hal_export_functf(hal_funct_t funct, void *arg, int uses_fp, int reentrant, int comp_id, const char *fmt, ...); +int hal_export_funct(const char *name, hal_funct_t funct, void *arg, int reentrant, int comp_id); +int hal_export_functf(hal_funct_t funct, void *arg, int reentrant, int comp_id, const char *fmt, ...); ---- == ARGUMENTS @@ -26,9 +26,6 @@ funct:: The pointer to the function. arg:: The argument to be passed as the first parameter of _funct_. -uses_fp:: - Deprecated and ignored. All threads now unconditionally save and restore - floating point state. This parameter will be removed in a future version. reentrant:: If reentrant is non-zero, the function may be preempted and called again before the first call completes. Otherwise, it may only be added to one thread. diff --git a/docs/src/man/man3/rtapi_task_new.3.adoc b/docs/src/man/man3/rtapi_task_new.3.adoc index fd437d71172..22c0426df0e 100644 --- a/docs/src/man/man3/rtapi_task_new.3.adoc +++ b/docs/src/man/man3/rtapi_task_new.3.adoc @@ -10,8 +10,7 @@ rtapi_task_new, rtapi_task_delete - create a realtime task [source,c] ---- -int rtapi_task_new(void (*_taskcode_)(void*), void *_arg_, int _prio_, - unsigned long _stacksize_, int _uses_fp_); +int rtapi_task_new(void (*_taskcode_)(void*), void *_arg_, int _prio_, int _owner_, unsigned long _stacksize_); int rtapi_task_delete(int _task_id_); ---- @@ -23,9 +22,8 @@ arg:: An argument to be passed to the _taskcode_ function when the task is started prio:: A task priority value returned by *rtapi_prio_xxxx* -uses_fp:: - Deprecated and ignored. All tasks now unconditionally save and restore - floating point state. This parameter will be removed in a future version. +owner:: + The module ID from rtapi_init(3). task_id:: A task ID returned by a previous call to *rtapi_task_new*