man rtl_index () - A comprehensive list of RTLinux functions.
NAME
RTLinux Function List - A comprehensive list of RTLinux functions.
Note
Certain RTLinux API functions have restrictions on their use. Some functions may only be called during RTLinux module initialization and cleanup (e.g., rtf_create, rtf_destroy). Other functions may not be used to operate on threads running on processors other than the current one (pthread_make_periodic_np).
The following functions should not be used in interrupt handlers:
- pthread_create
- pthread_join
- usleep
- nanosleep
- clock_nanosleep
- pthread_self
- pthread_exit
- pthread_mutex_lock
- pthread_mutex_trylock
- pthread_cond_wait
- sem_wait
- sem_trywait
- sem_timedwait
- pthread_wait_np
- pthread_delete_np
Any function that may block, excluding pthread_join and pthread_delete_np, should not be used in init_module() or cleanup_module().
Please see individual manual pages for additional information. Except as noted here, or in the individual manual pages, there are no restrictions on the API function usage.
POSIX Functions
RTLinux supports a subset of the POSIX interface. The following POSIX interface functions are available in this release:
- clock_gettime (link to URL ../susv2/xsh/clock_settime.html)
- clock_settime (link to URL ../susv2/xsh/clock_settime.html)
- time (link to URL ../susv2/xsh/time.html)
- usleep (link to URL ../susv2/xsh/usleep.html)
- nanosleep (link to URL ../susv2/xsh/nanosleep.html)
- clock_nanosleep (link to URL clock_nanosleep.html)
- sched_get_priority_max (link to URL ../susv2/xsh/sched_get_priority_max.html)
- sched_get_priority_min (link to URL ../susv2/xsh/sched_get_priority_max.html)
- pthread_self (link to URL ../susv2/xsh/pthread_self.html)
- pthread_attr_init (link to URL ../susv2/xsh/pthread_attr_init.html)
- pthread_attr_getstackaddr (link to URL ../susv2/xsh/pthread_attr_getstackaddr.html)
- pthread_attr_setstackaddr (link to URL ../susv2/xsh/pthread_attr_getstackaddr.html)
- pthread_attr_getstacksize (link to URL ../susv2/xsh/pthread_attr_getstacksize.html)
- pthread_attr_setstacksize (link to URL ../susv2/xsh/pthread_attr_getstacksize.html)
- pthread_attr_getschedparam (link to URL ../susv2/xsh/pthread_attr_setschedparam.html)
- pthread_attr_setschedparam (link to URL ../susv2/xsh/pthread_attr_setschedparam.html)
- pthread_detach (link to URL ../susv2/xsh/pthread_detach.html)
- pthread_attr_getdetachstate (link to URL ../susv2/xsh/pthread_attr_setdetachstate.html)
- pthread_attr_setdetachstate (link to URL ../susv2/xsh/pthread_attr_setdetachstate.html)
- sched_yield (link to URL ../susv2/xsh/sched.html)
- pthread_getschedparam (link to URL ../susv2/xsh/pthread_getschedparam.html)
- pthread_setschedparam (link to URL ../susv2/xsh/pthread_getschedparam.html)
- pthread_create (link to URL pthread_create.3.html)
- pthread_exit (link to URL ../susv2/xsh/pthread_exit.html)
- pthread_cancel (link to URL ../susv2/xsh/pthread_cancel.html)
- pthread_setcancelstate (link to URL ../susv2/xsh/pthread_setcancelstate.html)
- pthread_setcanceltype (link to URL ../susv2/xsh/pthread_setcancelstate.html)
- pthread_join (link to URL pthread_join.3.html)
- pthread_kill (link to URL ../susv2/xsh/pthread_kill.html) (signals supported: 0, RTL_SIGNAL_SUSPEND, RTL_SIGNAL_WAKEUP, RTL_SIGNAL_CANCEL)
- pthread_mutexattr_getpshared (link to URL ../susv2/xsh/pthread_mutexattr_getpshared.html)
- pthread_mutexattr_setpshared (link to URL ../susv2/xsh/pthread_mutexattr_getpshared.html)
- pthread_mutexattr_init (link to URL ../susv2/xsh/pthread_mutexattr_init.html)
- pthread_mutexattr_destroy (link to URL ../susv2/xsh/pthread_mutexattr_init.html)
- pthread_mutex_init (link to URL ../susv2/xsh/pthread_mutex_init.html)
- pthread_mutex_destroy (link to URL ../susv2/xsh/pthread_mutex_init.html)
- pthread_mutexattr_gettype (link to URL ../susv2/xsh/pthread_mutexattr_gettype.html)
- pthread_mutexattr_settype (link to URL ../susv2/xsh/pthread_mutexattr_gettype.html)
- pthread_mutex_lock (link to URL ../susv2/xsh/pthread_mutex_lock.html)
- pthread_mutex_trylock (link to URL ../susv2/xsh/pthread_mutex_lock.html)
- pthread_mutex_unlock (link to URL ../susv2/xsh/pthread_mutex_lock.html)
- sysconf (link to URL ../susv2/xsh/sysconf.html)
- uname (link to URL ../susv2/xsh/uname.html)
The following group of functions is supported if _POSIX_THREAD_PRIO_PROTECT options is defined:
- pthread_mutexattr_getprotocol (link to URL ../susv2/xsh/pthread_mutexattr_setprotocol.html)
- pthread_mutexattr_setprotocol (link to URL ../susv2/xsh/pthread_mutexattr_setprotocol.html)
- pthread_mutexattr_getprioceiling (link to URL ../susv2/xsh/pthread_mutexattr_setprioceiling.html)
- pthread_mutexattr_setprioceiling (link to URL ../susv2/xsh/pthread_mutexattr_setprioceiling.html)
POSIX condition variables:
- pthread_condattr_getpshared (link to URL ../susv2/xsh/pthread_condattr_getpshared.html)
- pthread_condattr_setpshared (link to URL ../susv2/xsh/pthread_condattr_getpshared.html)
- pthread_condattr_init (link to URL ../susv2/xsh/pthread_condattr_destroy.html)
- pthread_condattr_destroy (link to URL ../susv2/xsh/pthread_condattr_destroy.html)
- pthread_cond_init (link to URL ../susv2/xsh/pthread_cond_init.html)
- pthread_cond_destroy (link to URL ../susv2/xsh/pthread_cond_init.html)
- pthread_cond_wait (link to URL ../susv2/xsh/pthread_cond_wait.html)
- pthread_cond_timedwait (link to URL ../susv2/xsh/pthread_cond_wait.html)
- pthread_cond_broadcast (link to URL ../susv2/xsh/pthread_cond_broadcast.html)
- pthread_cond_signal (link to URL ../susv2/xsh/pthread_cond_broadcast.html)
POSIX semaphores:
- sem_init (link to URL ../susv2/xsh/sem_init.html)
- sem_destroy (link to URL ../susv2/xsh/sem_destroy.html)
- sem_getvalue (link to URL ../susv2/xsh/sem_getvalue.html)
- sem_wait (link to URL ../susv2/xsh/sem_wait.html)
- sem_trywait (link to URL ../susv2/xsh/sem_trywait.html)
- sem_post (link to URL ../susv2/xsh/sem_post.html)
- sem_timedwait (link to URL sem_timedwait.html)
RTLinux-specific functions
- clock_gethrtime.3 (link to URL clock_gethrtime.3.html)
- free_RTirq.3 (link to URL free_RTirq.3.html)
- gethrtime.3 (link to URL gethrtime.3.html)
- pthread_attr_getcpu_np.3 (link to URL pthread_attr_getcpu_np.3.html)
- pthread_attr_setcpu_np.3 (link to URL pthread_attr_setcpu_np.3.html)
- pthread_delete_np.3 (link to URL pthread_delete_np.3.html)
- pthread_make_periodic_np.3 (link to URL pthread_make_periodic_np.3.html)
- pthread_attr_setfp_np.3 (link to URL pthread_attr_setfp_np.3.html)
- pthread_setfp_np.3 (link to URL pthread_setfp_np.3.html)
- pthread_suspend_np.3 (link to URL pthread_suspend_np.3.html)
- pthread_wait_np.3 (link to URL pthread_wait_np.3.html)
- pthread_wakeup_np.3 (link to URL pthread_wakeup_np.3.html)
- request_RTirq.3 (link to URL request_RTirq.3.html)
- rt_get_time.3 (link to URL rt_get_time.3.html)
- rt_task_delete.3 (link to URL rt_task_delete.3.html)
- rt_task_init.3 (link to URL rt_task_init.3.html)
- rt_task_make_periodic.3 (link to URL rt_task_make_periodic.3.html)
- rt_task_suspend.3 (link to URL rt_task_suspend.3.html)
- rt_task_wait.3 (link to URL rt_task_wait.3.html)
- rt_task_wakeup.3 (link to URL rt_task_wakeup.3.html)
- rt_use_fp.3 (link to URL rt_use_fp.3.html)
- rtf.4 (link to URL rtf.4.html)
- rtf_create.3 (link to URL rtf_create.3.html)
- rtf_create_handler.3 (link to URL rtf_create_handler.3.html)
- rtf_destroy.3 (link to URL rtf_destroy.3.html)
- rtf_get.3 (link to URL rtf_get.3.html)
- rtf_flush.3 (link to URL rtf_flush.3.html)
- rtf_make_user_pair.3 (link to URL rtf_make_user_pair.3.html)
- rtf_link_user_ioctl.3 (link to URL rtf_link_user_ioctl.3.html)
- rtf_put.3 (link to URL rtf_put.3.html)
- rtl_allow_interrupts.3 (link to URL rtl_allow_interrupts.3.html)
- rtl_free_irq.3 (link to URL rtl_free_irq.3.html)
- rtl_free_soft_irq.3 (link to URL rtl_free_soft_irq.3.html)
- rtl_get_soft_irq.3 (link to URL rtl_get_soft_irq.3.html)
- rtl_getcpuid.3 (link to URL rtl_getcpuid.3.html)
- rtl_getschedclock.3 (link to URL rtl_getschedclock.3.html)
- rtl_global_pend_irq.3 (link to URL rtl_global_pend_irq.3.html)
- rtl_hard_disable_irq.3 (link to URL rtl_hard_disable_irq.3.html)
- rtl_hard_enable_irq.3 (link to URL rtl_hard_enable_irq.3.html)
- rtl_no_interrupts.3 (link to URL rtl_no_interrupts.3.html)
- rtl_printf.3 (link to URL rtl_printf.3.html)
- rtl_request_irq.3 (link to URL rtl_request_irq.3.html)
- rtl_restore_interrupts.3 (link to URL rtl_restore_interrupts.3.html)
- rtl_setclockmode.3 (link to URL rtl_setclockmode.3.html)
- rtl_stop_interrupts.3 (link to URL rtl_stop_interrupts.3.html)
- rtl_v1.3 (link to URL rtl_v1.3.html)
- sigaction.2 (link to URL sigaction.2.html)
©2001 FSMLabs Inc.
All rights reserved.