RTLinux man page index

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
clock_settime
time
usleep
nanosleep
clock_nanosleep
sched_get_priority_max
sched_get_priority_min
pthread_self
pthread_attr_init
pthread_attr_getstackaddr
pthread_attr_setstackaddr
pthread_attr_getstacksize
pthread_attr_setstacksize
pthread_attr_getschedparam
pthread_attr_setschedparam
pthread_detach
pthread_attr_getdetachstate
pthread_attr_setdetachstate
sched_yield
pthread_getschedparam
pthread_setschedparam
pthread_create
pthread_exit
pthread_cancel
pthread_setcancelstate
pthread_setcanceltype
pthread_join
pthread_kill (signals supported: 0, RTL_SIGNAL_SUSPEND, RTL_SIGNAL_WAKEUP, RTL_SIGNAL_CANCEL)
pthread_mutexattr_getpshared
pthread_mutexattr_setpshared
pthread_mutexattr_init
pthread_mutexattr_destroy
pthread_mutex_init
pthread_mutex_destroy
pthread_mutexattr_gettype
pthread_mutexattr_settype
pthread_mutex_lock
pthread_mutex_trylock
pthread_mutex_unlock
sysconf
uname

The following group of functions is supported if _POSIX_THREAD_PRIO_PROTECT options is defined:

pthread_mutexattr_getprotocol
pthread_mutexattr_setprotocol
pthread_mutexattr_getprioceiling
pthread_mutexattr_setprioceiling

POSIX condition variables:

pthread_condattr_getpshared
pthread_condattr_setpshared
pthread_condattr_init
pthread_condattr_destroy
pthread_cond_init
pthread_cond_destroy
pthread_cond_wait
pthread_cond_timedwait
pthread_cond_broadcast
pthread_cond_signal

POSIX semaphores:

sem_init
sem_destroy
sem_getvalue
sem_wait
sem_trywait
sem_post
sem_timedwait

RTLinux-specific functions

clock_gethrtime.3
free_RTirq.3
gethrtime.3
pthread_attr_getcpu_np.3
pthread_attr_setcpu_np.3
pthread_delete_np.3
pthread_make_periodic_np.3
pthread_attr_setfp_np.3
pthread_setfp_np.3
pthread_suspend_np.3
pthread_wait_np.3
pthread_wakeup_np.3
request_RTirq.3
rt_get_time.3
rt_task_delete.3
rt_task_init.3
rt_task_make_periodic.3
rt_task_suspend.3
rt_task_wait.3
rt_task_wakeup.3
rt_use_fp.3
rtf.4
rtf_create.3
rtf_create_handler.3
rtf_destroy.3
rtf_get.3
rtf_flush.3
rtf_make_user_pair.3
rtf_link_user_ioctl.3
rtf_put.3
rtl_allow_interrupts.3
rtl_free_irq.3
rtl_free_soft_irq.3
rtl_get_soft_irq.3
rtl_getcpuid.3
rtl_getschedclock.3
rtl_global_pend_irq.3
rtl_hard_disable_irq.3
rtl_hard_enable_irq.3
rtl_no_interrupts.3
rtl_printf.3
rtl_request_irq.3
rtl_restore_interrupts.3
rtl_setclockmode.3
rtl_stop_interrupts.3
rtl_v1.3
sigaction.2

©2001 FSMLabs Inc.

All rights reserved.