Include dependency graph for rtai_posix.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | sem_open_rt sem_open |
#define | sem_close_rt sem_close |
#define | sem_init_rt sem_init |
#define | sem_destroy_rt sem_destroy |
#define | sem_wait_rt sem_wait |
#define | sem_trywait_rt sem_trywait |
#define | sem_timedwait_rt sem_timedwait |
#define | sem_post_rt sem_post |
#define | sem_getvalue_rt sem_getvalue |
#define | pthread_mutex_open_rt pthread_mutex_open |
#define | pthread_mutex_close_rt pthread_mutex_close |
#define | pthread_mutex_init_rt pthread_mutex_init |
#define | pthread_mutex_destroy_rt pthread_mutex_destroy |
#define | pthread_mutex_lock_rt pthread_mutex_lock |
#define | pthread_mutex_timedlock_rt pthread_mutex_timedlock |
#define | pthread_mutex_trylock_rt pthread_mutex_trylock |
#define | pthread_mutex_unlock_rt pthread_mutex_unlock |
#define | pthread_cond_open_rt pthread_cond_open |
#define | pthread_cond_close_rt pthread_cond_close |
#define | pthread_cond_init_rt pthread_cond_init |
#define | pthread_cond_destroy_rt pthread_cond_destroy |
#define | pthread_cond_signal_rt pthread_cond_signal |
#define | pthread_cond_broadcast_rt pthread_cond_broadcast |
#define | pthread_cond_wait_rt pthread_cond_wait |
#define | pthread_cond_timedwait_rt pthread_cond_timedwait |
#define | pthread_barrier_open_rt pthread_barrier_open |
#define | pthread_barrier_close_rt pthread_barrier_close |
#define | pthread_barrier_init_rt pthread_barrier_init |
#define | pthread_barrier_destroy_rt pthread_barrier_destroy |
#define | pthread_barrier_wait_rt pthread_barrier_wait |
#define | pthread_rwlock_open_rt pthread_rwlock_open |
#define | pthread_rwlock_close_rt pthread_rwlock_close |
#define | pthread_rwlock_init_rt pthread_rwlock_init |
#define | pthread_rwlock_destroy_rt pthread_rwlock_destroy |
#define | pthread_rwlock_rdlock_rt pthread_rwlock_rdlock |
#define | pthread_rwlock_tryrdlock_rt pthread_rwlock_tryrdlock |
#define | pthread_rwlock_timedrdlock_rt pthread_rwlock_timedrdlock |
#define | pthread_rwlock_wrlock_rt pthread_rwlock_wrlock |
#define | pthread_rwlock_trywrlock_rt pthread_rwlock_trywrlock |
#define | pthread_rwlock_timedwrlock_rt pthread_rwlock_timedwrlock |
#define | pthread_rwlock_unlock_rt pthread_rwlock_unlock |
#define | pthread_spin_init_rt pthread_spin_init |
#define | pthread_spin_destroy_rt pthread_spin_destroy |
#define | pthread_spin_lock_rt pthread_spin_lock |
#define | pthread_spin_trylock_rt pthread_spin_trylock |
#define | pthread_spin_unlock_rt pthread_spin_unlock |
#define | sched_get_max_priority_rt sched_get_max_priority |
#define | sched_get_min_priority_rt sched_get_min_priority |
#define | pthread_create_rt pthread_create |
#define | pthread_yield_rt pthread_yield |
#define | pthread_exit_rt pthread_exit |
#define | pthread_join_rt pthread_join |
#define | pthread_cancel_rt pthread_cancel |
#define | pthread_equal_rt pthread_equal |
#define | pthread_self_rt pthread_self |
#define | pthread_attr_init_rt pthread_attr_init |
#define | pthread_attr_destroy_rt pthread_attr_destroy |
#define | pthread_attr_setschedparam_rt pthread_attr_setschedparam |
#define | pthread_attr_getschedparam_rt pthread_attr_getschedparam |
#define | pthread_attr_setschedpolicy_rt pthread_attr_setschedpolicy |
#define | pthread_attr_getschedpolicy_rt pthread_attr_getschedpolicy |
#define | pthread_attr_setschedrr_rt pthread_attr_setschedrr |
#define | pthread_attr_getschedrr_rt pthread_attr_getschedrr |
#define | pthread_attr_setstacksize_rt pthread_attr_setstacksize |
#define | pthread_attr_getstacksize_rt pthread_attr_getstacksize |
#define | pthread_attr_setstack_rt pthread_attr_setstack |
#define | pthread_attr_getstack_rt pthread_attr_getstack |
#define | pthread_testcancel_rt pthread_testcancel |
#define | clock_gettime_rt clock_gettime |
#define | nanosleep_rt nanosleep |
#define | pthread_cleanup_push_rt pthread_cleanup_push |
#define | pthread_cleanup_pop_rt pthread_cleanup_pop |
#define | pthread_attr_setdetachstate_rt(attr, detachstate) |
#define | pthread_detach_rt(thread) |
#define | pthread_setconcurrency_rt(level) |
#define | SEM_VALUE_MAX (SEM_TIMOUT - 1) |
#define | SEM_BINARY (0x7FFFFFFF) |
#define | RTAI_PNAME_MAXSZ 6 |
#define | SET_ADR(s) (((void **)s)[0]) |
#define | SET_VAL(s) (((void **)s)[1]) |
#define | INC_VAL(s) atomic_inc((atomic_t *)&(((void **)s)[1])) |
#define | DEC_VAL(s) atomic_dec_and_test((atomic_t *)&(((void **)s)[1])) |
#define | TST_VAL(s) (((void **)s)[1]) |
#define | LINUX_SIGNAL 32 |
#define | LINUX_RT_SIGNAL 32 |
#define | MAKE_HARD(hs) do { if (hs) rt_make_hard_real_time(); } while (0) |
#define | str2upr(si, so) do { int i; for (i = 0; i <= RTAI_PNAME_MAXSZ; i++) so[i] = toupper(si[i]); } while (0) |
#define | RTAI_MUTEX_DEFAULT (1 << 0) |
#define | RTAI_MUTEX_ERRCHECK (1 << 1) |
#define | RTAI_MUTEX_RECURSIVE (1 << 2) |
#define | RTAI_MUTEX_PSHARED (1 << 3) |
#define | CLOCK_MONOTONIC 1 |
#define | PTHREAD_SOFT_REAL_TIME_NP 1 |
#define | PTHREAD_HARD_REAL_TIME_NP 2 |
#define | PTHREAD_SOFT_REAL_TIME PTHREAD_SOFT_REAL_TIME_NP |
#define | PTHREAD_HARD_REAL_TIME PTHREAD_HARD_REAL_TIME_NP |
#define | pthread_init_real_time_np(a, b, c, d, e) pthread_setschedparam_np (b, c, 0, d, e) |
#define | pthread_make_hard_real_time_np() pthread_hard_real_time_np() |
#define | pthread_make_soft_real_time_np() pthread_soft_real_time_np() |
#define | pthread_self_rt pthread_self |
#define | pthread_equal_rt pthread_equal |
#define | pthread_attr_init_rt pthread_attr_init |
#define | pthread_attr_destroy_rt pthread_attr_destroy |
#define | pthread_attr_getdetachstate_rt pthread_attr_getdetachstate |
#define | pthread_attr_setschedpolicy_rt pthread_attr_setschedpolicy |
#define | pthread_attr_getschedpolicy_rt pthread_attr_getschedpolicy |
#define | pthread_attr_setschedparam_rt pthread_attr_setschedparam |
#define | pthread_attr_getschedparam_rt pthread_attr_getschedparam |
#define | pthread_attr_setinheritsched_rt pthread_attr_setinheritsched |
#define | pthread_attr_getinheritsched_rt pthread_attr_getinheritsched |
#define | pthread_attr_setscope_rt pthread_attr_setscope |
#define | pthread_attr_getscope_rt pthread_attr_getscope |
#define | pthread_attr_setstackaddr_rt pthread_attr_setstackaddr |
#define | pthread_attr_getstackaddr_rt pthread_attr_getstackaddr |
#define | pthread_attr_setstacksize_rt pthread_attr_setstacksize |
#define | pthread_attr_getstacksize_rt pthread_attr_getstacksize |
#define | pthread_setcancelstate_rt pthread_setcancelstate |
#define | pthread_setcanceltype_rt pthread_setcanceltype |
Functions | |
static int | MAKE_SOFT (void) |
static void | count2timespec (RTIME rt, struct timespec *t) |
static void | nanos2timespec (RTIME rt, struct timespec *t) |
static RTIME | timespec2count (const struct timespec *t) |
static RTIME | timespec2nanos (const struct timespec *t) |
static int | pthread_get_name_np (void *adr, unsigned long *nameid) |
static int | pthread_get_adr_np (unsigned long nameid, void *adr) |
static sem_t * | __wrap_sem_open (const char *namein, int oflags, int value, int type) |
static int | __wrap_sem_close (sem_t *sem) |
static int | __wrap_sem_unlink (const char *namein) |
static int | __wrap_sem_init (sem_t *sem, int pshared, unsigned int value) |
static int | __wrap_sem_destroy (sem_t *sem) |
static int | __wrap_sem_wait (sem_t *sem) |
static int | __wrap_sem_trywait (sem_t *sem) |
static int | __wrap_sem_timedwait (sem_t *sem, const struct timespec *abstime) |
static int | __wrap_sem_post (sem_t *sem) |
static int | __wrap_sem_getvalue (sem_t *sem, int *sval) |
static int | __wrap_pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr) |
static int | __wrap_pthread_mutex_destroy (pthread_mutex_t *mutex) |
static int | __wrap_pthread_mutex_lock (pthread_mutex_t *mutex) |
static int | __wrap_pthread_mutex_trylock (pthread_mutex_t *mutex) |
static int | __wrap_pthread_mutex_unlock (pthread_mutex_t *mutex) |
static int | __wrap_pthread_mutexattr_init (pthread_mutexattr_t *attr) |
static int | __wrap_pthread_mutexattr_destroy (pthread_mutexattr_t *attr) |
static int | __wrap_pthread_mutexattr_getpshared (const pthread_mutexattr_t *attr, int *pshared) |
static int | __wrap_pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared) |
static int | __wrap_pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind) |
static int | __wrap_pthread_mutexattr_gettype (const pthread_mutexattr_t *attr, int *kind) |
static int | pthread_make_periodic_np (pthread_t thread, struct timespec *start_delay, struct timespec *period) |
static int | pthread_wait_period_np (void) |
static int | __wrap_pthread_cond_init (pthread_cond_t *cond, pthread_condattr_t *cond_attr) |
static int | __wrap_pthread_cond_destroy (pthread_cond_t *cond) |
static int | __wrap_pthread_cond_signal (pthread_cond_t *cond) |
static int | __wrap_pthread_cond_broadcast (pthread_cond_t *cond) |
static void | internal_cond_cleanup (void *mutex) |
static int | __wrap_pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) |
static int | __wrap_pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) |
static int | __wrap_pthread_condattr_init (pthread_condattr_t *attr) |
static int | __wrap_pthread_condattr_destroy (pthread_condattr_t *attr) |
static int | __wrap_pthread_condattr_getpshared (const pthread_condattr_t *attr, int *pshared) |
static int | __wrap_pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared) |
static int | __wrap_pthread_condattr_setclock (pthread_condattr_t *condattr, clockid_t clockid) |
static int | __wrap_pthread_condattr_getclock (pthread_condattr_t *condattr, clockid_t *clockid) |
static int | __wrap_pthread_rwlock_init (pthread_rwlock_t *rwlock, pthread_rwlockattr_t *attr) |
static int | __wrap_pthread_rwlock_destroy (pthread_rwlock_t *rwlock) |
static int | __wrap_pthread_rwlock_rdlock (pthread_rwlock_t *rwlock) |
static int | __wrap_pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock) |
static int | __wrap_pthread_rwlock_wrlock (pthread_rwlock_t *rwlock) |
static int | __wrap_pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock) |
static int | __wrap_pthread_rwlock_unlock (pthread_rwlock_t *rwlock) |
static int | __wrap_pthread_rwlockattr_init (pthread_rwlockattr_t *attr) |
static int | __wrap_pthread_rwlockattr_destroy (pthread_rwlockattr_t *attr) |
static int | __wrap_pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *attr, int *pshared) |
static int | __wrap_pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared) |
static int | __wrap_pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t *attr, int *pref) |
static int | __wrap_pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *attr, int pref) |
static int | pthread_setschedparam_np (int priority, int policy, int rr_quantum_ns, unsigned long cpus_allowed, int mode) |
static void | pthread_hard_real_time_np (void) |
static void | pthread_soft_real_time_np (void) |
static int | pthread_gettid_np (void) |
static int | __wrap_clock_getres (clockid_t clockid, struct timespec *res) |
static int | __wrap_clock_gettime (clockid_t clockid, struct timespec *tp) |
static int | __wrap_clock_settime (clockid_t clockid, const struct timespec *tp) |
static int | __wrap_clock_nanosleep (clockid_t clockid, int flags, const struct timespec *rqtp, struct timespec *rmtp) |
static int | __wrap_nanosleep (const struct timespec *rqtp, struct timespec *rmtp) |
static int | support_posix_timer (void *data) |
static int | __wrap_timer_create (clockid_t clockid, struct sigevent *evp, timer_t *timerid) |
static int | __wrap_timer_gettime (timer_t timerid, struct itimerspec *value) |
static int | __wrap_timer_settime (timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue) |
static int | __wrap_timer_getoverrun (timer_t timerid) |
static int | __wrap_timer_delete (timer_t timerid) |
#define clock_gettime_rt clock_gettime |
Definition at line 99 of file rtai_posix.h.
#define CLOCK_MONOTONIC 1 |
Definition at line 1667 of file rtai_posix.h.
#define DEC_VAL | ( | s | ) | atomic_dec_and_test((atomic_t *)&(((void **)s)[1])) |
Definition at line 1117 of file rtai_posix.h.
Referenced by __wrap_pthread_cond_timedwait(), __wrap_pthread_cond_wait(), and internal_cond_cleanup().
#define INC_VAL | ( | s | ) | atomic_inc((atomic_t *)&(((void **)s)[1])) |
Definition at line 1116 of file rtai_posix.h.
Referenced by __wrap_pthread_cond_timedwait(), and __wrap_pthread_cond_wait().
#define LINUX_RT_SIGNAL 32 |
Definition at line 1121 of file rtai_posix.h.
#define LINUX_SIGNAL 32 |
Definition at line 1120 of file rtai_posix.h.
#define MAKE_HARD | ( | hs | ) | do { if (hs) rt_make_hard_real_time(); } while (0) |
Definition at line 1145 of file rtai_posix.h.
Referenced by __wrap_clock_settime(), and pthread_setschedparam_np().
#define nanosleep_rt nanosleep |
Definition at line 100 of file rtai_posix.h.
#define pthread_attr_destroy_rt pthread_attr_destroy |
Definition at line 2440 of file rtai_posix.h.
#define pthread_attr_destroy_rt pthread_attr_destroy |
Definition at line 2440 of file rtai_posix.h.
#define pthread_attr_getdetachstate_rt pthread_attr_getdetachstate |
Definition at line 2441 of file rtai_posix.h.
#define pthread_attr_getinheritsched_rt pthread_attr_getinheritsched |
Definition at line 2447 of file rtai_posix.h.
#define pthread_attr_getschedparam_rt pthread_attr_getschedparam |
Definition at line 2445 of file rtai_posix.h.
#define pthread_attr_getschedparam_rt pthread_attr_getschedparam |
Definition at line 2445 of file rtai_posix.h.
#define pthread_attr_getschedpolicy_rt pthread_attr_getschedpolicy |
Definition at line 2443 of file rtai_posix.h.
#define pthread_attr_getschedpolicy_rt pthread_attr_getschedpolicy |
Definition at line 2443 of file rtai_posix.h.
#define pthread_attr_getschedrr_rt pthread_attr_getschedrr |
Definition at line 92 of file rtai_posix.h.
#define pthread_attr_getscope_rt pthread_attr_getscope |
Definition at line 2449 of file rtai_posix.h.
#define pthread_attr_getstack_rt pthread_attr_getstack |
Definition at line 96 of file rtai_posix.h.
#define pthread_attr_getstackaddr_rt pthread_attr_getstackaddr |
Definition at line 2455 of file rtai_posix.h.
#define pthread_attr_getstacksize_rt pthread_attr_getstacksize |
Definition at line 2461 of file rtai_posix.h.
#define pthread_attr_getstacksize_rt pthread_attr_getstacksize |
Definition at line 2461 of file rtai_posix.h.
#define pthread_attr_init_rt pthread_attr_init |
Definition at line 2439 of file rtai_posix.h.
#define pthread_attr_init_rt pthread_attr_init |
Definition at line 2439 of file rtai_posix.h.
#define pthread_attr_setdetachstate_rt | ( | attr, | |||
detachstate | ) |
Definition at line 109 of file rtai_posix.h.
#define pthread_attr_setinheritsched_rt pthread_attr_setinheritsched |
Definition at line 2446 of file rtai_posix.h.
#define pthread_attr_setschedparam_rt pthread_attr_setschedparam |
Definition at line 2444 of file rtai_posix.h.
#define pthread_attr_setschedparam_rt pthread_attr_setschedparam |
Definition at line 2444 of file rtai_posix.h.
#define pthread_attr_setschedpolicy_rt pthread_attr_setschedpolicy |
Definition at line 2442 of file rtai_posix.h.
#define pthread_attr_setschedpolicy_rt pthread_attr_setschedpolicy |
Definition at line 2442 of file rtai_posix.h.
#define pthread_attr_setschedrr_rt pthread_attr_setschedrr |
Definition at line 91 of file rtai_posix.h.
#define pthread_attr_setscope_rt pthread_attr_setscope |
Definition at line 2448 of file rtai_posix.h.
#define pthread_attr_setstack_rt pthread_attr_setstack |
Definition at line 95 of file rtai_posix.h.
#define pthread_attr_setstackaddr_rt pthread_attr_setstackaddr |
Definition at line 2454 of file rtai_posix.h.
#define pthread_attr_setstacksize_rt pthread_attr_setstacksize |
Definition at line 2460 of file rtai_posix.h.
#define pthread_attr_setstacksize_rt pthread_attr_setstacksize |
Definition at line 2460 of file rtai_posix.h.
#define pthread_barrier_close_rt pthread_barrier_close |
Definition at line 52 of file rtai_posix.h.
#define pthread_barrier_destroy_rt pthread_barrier_destroy |
Definition at line 54 of file rtai_posix.h.
#define pthread_barrier_init_rt pthread_barrier_init |
Definition at line 53 of file rtai_posix.h.
#define pthread_barrier_open_rt pthread_barrier_open |
Definition at line 51 of file rtai_posix.h.
#define pthread_barrier_wait_rt pthread_barrier_wait |
Definition at line 55 of file rtai_posix.h.
#define pthread_cancel_rt pthread_cancel |
Definition at line 82 of file rtai_posix.h.
#define pthread_cleanup_pop_rt pthread_cleanup_pop |
Definition at line 103 of file rtai_posix.h.
#define pthread_cleanup_push_rt pthread_cleanup_push |
Definition at line 102 of file rtai_posix.h.
#define pthread_cond_broadcast_rt pthread_cond_broadcast |
Definition at line 47 of file rtai_posix.h.
#define pthread_cond_close_rt pthread_cond_close |
Definition at line 43 of file rtai_posix.h.
#define pthread_cond_destroy_rt pthread_cond_destroy |
Definition at line 45 of file rtai_posix.h.
#define pthread_cond_init_rt pthread_cond_init |
Definition at line 44 of file rtai_posix.h.
#define pthread_cond_open_rt pthread_cond_open |
Definition at line 42 of file rtai_posix.h.
#define pthread_cond_signal_rt pthread_cond_signal |
Definition at line 46 of file rtai_posix.h.
#define pthread_cond_timedwait_rt pthread_cond_timedwait |
Definition at line 49 of file rtai_posix.h.
#define pthread_cond_wait_rt pthread_cond_wait |
Definition at line 48 of file rtai_posix.h.
#define pthread_create_rt pthread_create |
Definition at line 78 of file rtai_posix.h.
#define pthread_detach_rt | ( | thread | ) |
Definition at line 110 of file rtai_posix.h.
#define pthread_equal_rt pthread_equal |
Definition at line 2438 of file rtai_posix.h.
#define pthread_equal_rt pthread_equal |
Definition at line 2438 of file rtai_posix.h.
#define pthread_exit_rt pthread_exit |
Definition at line 80 of file rtai_posix.h.
#define PTHREAD_HARD_REAL_TIME PTHREAD_HARD_REAL_TIME_NP |
Definition at line 1937 of file rtai_posix.h.
#define PTHREAD_HARD_REAL_TIME_NP 2 |
#define pthread_init_real_time_np | ( | a, | |||
b, | |||||
c, | |||||
d, | |||||
e | ) | pthread_setschedparam_np (b, c, 0, d, e) |
Definition at line 1938 of file rtai_posix.h.
#define pthread_join_rt pthread_join |
Definition at line 81 of file rtai_posix.h.
#define pthread_make_hard_real_time_np | ( | ) | pthread_hard_real_time_np() |
Definition at line 1940 of file rtai_posix.h.
#define pthread_make_soft_real_time_np | ( | ) | pthread_soft_real_time_np() |
Definition at line 1942 of file rtai_posix.h.
#define pthread_mutex_close_rt pthread_mutex_close |
Definition at line 34 of file rtai_posix.h.
#define pthread_mutex_destroy_rt pthread_mutex_destroy |
Definition at line 36 of file rtai_posix.h.
#define pthread_mutex_init_rt pthread_mutex_init |
Definition at line 35 of file rtai_posix.h.
#define pthread_mutex_lock_rt pthread_mutex_lock |
Definition at line 37 of file rtai_posix.h.
#define pthread_mutex_open_rt pthread_mutex_open |
Definition at line 33 of file rtai_posix.h.
#define pthread_mutex_timedlock_rt pthread_mutex_timedlock |
Definition at line 38 of file rtai_posix.h.
#define pthread_mutex_trylock_rt pthread_mutex_trylock |
Definition at line 39 of file rtai_posix.h.
#define pthread_mutex_unlock_rt pthread_mutex_unlock |
Definition at line 40 of file rtai_posix.h.
#define pthread_rwlock_close_rt pthread_rwlock_close |
Definition at line 58 of file rtai_posix.h.
#define pthread_rwlock_destroy_rt pthread_rwlock_destroy |
Definition at line 60 of file rtai_posix.h.
#define pthread_rwlock_init_rt pthread_rwlock_init |
Definition at line 59 of file rtai_posix.h.
#define pthread_rwlock_open_rt pthread_rwlock_open |
Definition at line 57 of file rtai_posix.h.
#define pthread_rwlock_rdlock_rt pthread_rwlock_rdlock |
Definition at line 61 of file rtai_posix.h.
#define pthread_rwlock_timedrdlock_rt pthread_rwlock_timedrdlock |
Definition at line 63 of file rtai_posix.h.
#define pthread_rwlock_timedwrlock_rt pthread_rwlock_timedwrlock |
Definition at line 66 of file rtai_posix.h.
#define pthread_rwlock_tryrdlock_rt pthread_rwlock_tryrdlock |
Definition at line 62 of file rtai_posix.h.
#define pthread_rwlock_trywrlock_rt pthread_rwlock_trywrlock |
Definition at line 65 of file rtai_posix.h.
#define pthread_rwlock_unlock_rt pthread_rwlock_unlock |
Definition at line 67 of file rtai_posix.h.
#define pthread_rwlock_wrlock_rt pthread_rwlock_wrlock |
Definition at line 64 of file rtai_posix.h.
#define pthread_self_rt pthread_self |
Definition at line 2437 of file rtai_posix.h.
#define pthread_self_rt pthread_self |
Definition at line 2437 of file rtai_posix.h.
#define pthread_setcancelstate_rt pthread_setcancelstate |
Definition at line 2467 of file rtai_posix.h.
#define pthread_setcanceltype_rt pthread_setcanceltype |
Definition at line 2468 of file rtai_posix.h.
#define pthread_setconcurrency_rt | ( | level | ) |
Definition at line 111 of file rtai_posix.h.
#define PTHREAD_SOFT_REAL_TIME PTHREAD_SOFT_REAL_TIME_NP |
Definition at line 1936 of file rtai_posix.h.
#define PTHREAD_SOFT_REAL_TIME_NP 1 |
Definition at line 1883 of file rtai_posix.h.
#define pthread_spin_destroy_rt pthread_spin_destroy |
Definition at line 70 of file rtai_posix.h.
#define pthread_spin_init_rt pthread_spin_init |
Definition at line 69 of file rtai_posix.h.
#define pthread_spin_lock_rt pthread_spin_lock |
Definition at line 71 of file rtai_posix.h.
#define pthread_spin_trylock_rt pthread_spin_trylock |
Definition at line 72 of file rtai_posix.h.
#define pthread_spin_unlock_rt pthread_spin_unlock |
Definition at line 73 of file rtai_posix.h.
#define pthread_testcancel_rt pthread_testcancel |
Definition at line 97 of file rtai_posix.h.
#define pthread_yield_rt pthread_yield |
Definition at line 79 of file rtai_posix.h.
#define RTAI_MUTEX_DEFAULT (1 << 0) |
Definition at line 1381 of file rtai_posix.h.
Referenced by __wrap_pthread_mutex_init(), __wrap_pthread_mutexattr_gettype(), __wrap_pthread_mutexattr_init(), and __wrap_pthread_mutexattr_settype().
#define RTAI_MUTEX_ERRCHECK (1 << 1) |
Definition at line 1382 of file rtai_posix.h.
Referenced by __wrap_pthread_mutex_init(), __wrap_pthread_mutexattr_gettype(), and __wrap_pthread_mutexattr_settype().
#define RTAI_MUTEX_PSHARED (1 << 3) |
#define RTAI_MUTEX_RECURSIVE (1 << 2) |
Definition at line 1383 of file rtai_posix.h.
Referenced by __wrap_pthread_mutexattr_gettype(), and __wrap_pthread_mutexattr_settype().
#define RTAI_PNAME_MAXSZ 6 |
Definition at line 1113 of file rtai_posix.h.
Referenced by __wrap_sem_close(), __wrap_sem_open(), and __wrap_sem_unlink().
#define sched_get_max_priority_rt sched_get_max_priority |
Definition at line 75 of file rtai_posix.h.
#define sched_get_min_priority_rt sched_get_min_priority |
Definition at line 76 of file rtai_posix.h.
#define SEM_BINARY (0x7FFFFFFF) |
Definition at line 1111 of file rtai_posix.h.
#define sem_close_rt sem_close |
Definition at line 24 of file rtai_posix.h.
#define sem_destroy_rt sem_destroy |
Definition at line 26 of file rtai_posix.h.
#define sem_getvalue_rt sem_getvalue |
Definition at line 31 of file rtai_posix.h.
#define sem_init_rt sem_init |
Definition at line 25 of file rtai_posix.h.
#define sem_open_rt sem_open |
Definition at line 23 of file rtai_posix.h.
#define sem_post_rt sem_post |
Definition at line 30 of file rtai_posix.h.
#define sem_timedwait_rt sem_timedwait |
Definition at line 29 of file rtai_posix.h.
#define sem_trywait_rt sem_trywait |
Definition at line 28 of file rtai_posix.h.
#define SEM_VALUE_MAX (SEM_TIMOUT - 1) |
Definition at line 1110 of file rtai_posix.h.
Referenced by __wrap_sem_init(), and __wrap_sem_open().
#define sem_wait_rt sem_wait |
Definition at line 27 of file rtai_posix.h.
#define SET_ADR | ( | s | ) | (((void **)s)[0]) |
Definition at line 1114 of file rtai_posix.h.
Referenced by __wrap_pthread_cond_broadcast(), __wrap_pthread_cond_destroy(), __wrap_pthread_cond_init(), __wrap_pthread_cond_signal(), __wrap_pthread_cond_timedwait(), __wrap_pthread_cond_wait(), __wrap_pthread_mutex_destroy(), __wrap_pthread_mutex_init(), __wrap_pthread_mutex_lock(), __wrap_pthread_mutex_trylock(), __wrap_pthread_mutex_unlock(), __wrap_pthread_rwlock_destroy(), __wrap_pthread_rwlock_rdlock(), __wrap_pthread_rwlock_tryrdlock(), __wrap_pthread_rwlock_trywrlock(), __wrap_pthread_rwlock_unlock(), __wrap_pthread_rwlock_wrlock(), __wrap_sem_close(), __wrap_sem_destroy(), __wrap_sem_getvalue(), __wrap_sem_init(), __wrap_sem_post(), __wrap_sem_timedwait(), __wrap_sem_trywait(), __wrap_sem_wait(), pthread_get_adr_np(), and pthread_get_name_np().
#define SET_VAL | ( | s | ) | (((void **)s)[1]) |
#define str2upr | ( | si, | |||
so | ) | do { int i; for (i = 0; i <= RTAI_PNAME_MAXSZ; i++) so[i] = toupper(si[i]); } while (0) |
Definition at line 1183 of file rtai_posix.h.
Referenced by __wrap_sem_open(), and __wrap_sem_unlink().
#define TST_VAL | ( | s | ) | (((void **)s)[1]) |
static int __wrap_clock_getres | ( | clockid_t | clockid, | |
struct timespec * | res | |||
) | [inline, static] |
Definition at line 2200 of file rtai_posix.h.
References CLOCK_MONOTONIC, count2nano(), and errno.
Here is the call graph for this function:
static int __wrap_clock_gettime | ( | clockid_t | clockid, | |
struct timespec * | tp | |||
) | [inline, static] |
Definition at line 2213 of file rtai_posix.h.
References CLOCK_MONOTONIC, count2timespec(), errno, rt_get_real_time(), and rt_get_time().
Here is the call graph for this function:
static int __wrap_clock_nanosleep | ( | clockid_t | clockid, | |
int | flags, | |||
const struct timespec * | rqtp, | |||
struct timespec * | rmtp | |||
) | [inline, static] |
Definition at line 2239 of file rtai_posix.h.
References CLOCK_MONOTONIC, count2timespec(), rt_get_real_time(), rt_get_time(), rt_sleep_until(), and timespec2count().
Here is the call graph for this function:
static int __wrap_clock_settime | ( | clockid_t | clockid, | |
const struct timespec * | tp | |||
) | [inline, static] |
Definition at line 2226 of file rtai_posix.h.
References errno, MAKE_HARD, MAKE_SOFT(), and rt_gettimeorig().
Here is the call graph for this function:
static int __wrap_nanosleep | ( | const struct timespec * | rqtp, | |
struct timespec * | rmtp | |||
) | [inline, static] |
Definition at line 2280 of file rtai_posix.h.
References count2timespec(), rt_get_time(), rt_sleep_until(), and timespec2count().
Here is the call graph for this function:
static int __wrap_pthread_cond_broadcast | ( | pthread_cond_t * | cond | ) | [inline, static] |
Definition at line 1580 of file rtai_posix.h.
References BIDX, rtai_lxrt(), SEM_BROADCAST, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_cond_destroy | ( | pthread_cond_t * | cond | ) | [inline, static] |
Definition at line 1557 of file rtai_posix.h.
References BIDX, NAMED_SEM_DELETE, rtai_lxrt(), SEM_WAIT_IF, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_cond_init | ( | pthread_cond_t * | cond, | |
pthread_condattr_t * | cond_attr | |||
) | [inline, static] |
Definition at line 1548 of file rtai_posix.h.
References BIDX, BIN_SEM, NAMED_SEM_INIT, PRIO_Q, rt_get_name(), rtai_lxrt(), SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_cond_signal | ( | pthread_cond_t * | cond | ) | [inline, static] |
Definition at line 1570 of file rtai_posix.h.
References BIDX, COND_SIGNAL, rtai_lxrt(), SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_cond_timedwait | ( | pthread_cond_t * | cond, | |
pthread_mutex_t * | mutex, | |||
const struct timespec * | abstime | |||
) | [inline, static] |
Definition at line 1612 of file rtai_posix.h.
References BIDX, COND_WAIT_UNTIL, DEC_VAL, INC_VAL, internal_cond_cleanup(), rtai_lxrt(), RTE_TIMOUT, SET_ADR, SIZARG, and timespec2count().
Here is the call graph for this function:
static int __wrap_pthread_cond_wait | ( | pthread_cond_t * | cond, | |
pthread_mutex_t * | mutex | |||
) | [inline, static] |
Definition at line 1592 of file rtai_posix.h.
References BIDX, COND_WAIT, DEC_VAL, rtai_lxrt_t::i, INC_VAL, internal_cond_cleanup(), rtai_lxrt(), SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_condattr_destroy | ( | pthread_condattr_t * | attr | ) | [inline, static] |
Definition at line 1642 of file rtai_posix.h.
static int __wrap_pthread_condattr_getclock | ( | pthread_condattr_t * | condattr, | |
clockid_t * | clockid | |||
) | [inline, static] |
Definition at line 1679 of file rtai_posix.h.
static int __wrap_pthread_condattr_getpshared | ( | const pthread_condattr_t * | attr, | |
int * | pshared | |||
) | [inline, static] |
static int __wrap_pthread_condattr_init | ( | pthread_condattr_t * | attr | ) | [inline, static] |
Definition at line 1636 of file rtai_posix.h.
static int __wrap_pthread_condattr_setclock | ( | pthread_condattr_t * | condattr, | |
clockid_t | clockid | |||
) | [inline, static] |
static int __wrap_pthread_condattr_setpshared | ( | pthread_condattr_t * | attr, | |
int | pshared | |||
) | [inline, static] |
static int __wrap_pthread_mutex_destroy | ( | pthread_mutex_t * | mutex | ) | [inline, static] |
Definition at line 1396 of file rtai_posix.h.
References BIDX, LOW, NAMED_SEM_DELETE, rtai_lxrt(), RTE_DEADLOK, SEM_SIGNAL, SEM_WAIT_IF, SET_ADR, SIZARG, and TST_VAL.
Here is the call graph for this function:
static int __wrap_pthread_mutex_init | ( | pthread_mutex_t * | mutex, | |
const pthread_mutexattr_t * | mutexattr | |||
) | [inline, static] |
Definition at line 1386 of file rtai_posix.h.
References BIDX, LOW, NAMED_SEM_INIT, RES_SEM, RESEM_BINSEM, RESEM_CHEKWT, RESEM_RECURS, rt_get_name(), rtai_lxrt(), RTAI_MUTEX_DEFAULT, RTAI_MUTEX_ERRCHECK, SET_ADR, SET_VAL, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_mutex_lock | ( | pthread_mutex_t * | mutex | ) | [inline, static] |
Definition at line 1417 of file rtai_posix.h.
References BIDX, LOW, rtai_lxrt(), RTE_BASE, RTE_UNBLKD, SEM_WAIT, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_mutex_trylock | ( | pthread_mutex_t * | mutex | ) | [inline, static] |
Definition at line 1428 of file rtai_posix.h.
References BIDX, LOW, rtai_lxrt(), SEM_WAIT_IF, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_mutex_unlock | ( | pthread_mutex_t * | mutex | ) | [inline, static] |
Definition at line 1458 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, rtai_lxrt(), RTE_PERM, SEM_SIGNAL, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_mutexattr_destroy | ( | pthread_mutexattr_t * | attr | ) | [inline, static] |
Definition at line 1473 of file rtai_posix.h.
static int __wrap_pthread_mutexattr_getpshared | ( | const pthread_mutexattr_t * | attr, | |
int * | pshared | |||
) | [inline, static] |
static int __wrap_pthread_mutexattr_gettype | ( | const pthread_mutexattr_t * | attr, | |
int * | kind | |||
) | [inline, static] |
Definition at line 1515 of file rtai_posix.h.
References RTAI_MUTEX_DEFAULT, RTAI_MUTEX_ERRCHECK, and RTAI_MUTEX_RECURSIVE.
static int __wrap_pthread_mutexattr_init | ( | pthread_mutexattr_t * | attr | ) | [inline, static] |
static int __wrap_pthread_mutexattr_setpshared | ( | pthread_mutexattr_t * | attr, | |
int | pshared | |||
) | [inline, static] |
static int __wrap_pthread_mutexattr_settype | ( | pthread_mutexattr_t * | attr, | |
int | kind | |||
) | [inline, static] |
Definition at line 1497 of file rtai_posix.h.
References RTAI_MUTEX_DEFAULT, RTAI_MUTEX_ERRCHECK, and RTAI_MUTEX_RECURSIVE.
static int __wrap_pthread_rwlock_destroy | ( | pthread_rwlock_t * | rwlock | ) | [inline, static] |
Definition at line 1699 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, LXRT_RWL_DELETE, rtai_lxrt(), SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_rwlock_init | ( | pthread_rwlock_t * | rwlock, | |
pthread_rwlockattr_t * | attr | |||
) | [inline, static] |
Definition at line 1692 of file rtai_posix.h.
References BIDX, LXRT_RWL_INIT, RESEM_CHEKWT, rt_get_name(), rtai_lxrt(), SIZARG, and rtai_lxrt_t::v.
Here is the call graph for this function:
static int __wrap_pthread_rwlock_rdlock | ( | pthread_rwlock_t * | rwlock | ) | [inline, static] |
Definition at line 1708 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, rtai_lxrt(), RWL_RDLOCK, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_rwlock_tryrdlock | ( | pthread_rwlock_t * | rwlock | ) | [inline, static] |
Definition at line 1717 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, rtai_lxrt(), RWL_RDLOCK_IF, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_rwlock_trywrlock | ( | pthread_rwlock_t * | rwlock | ) | [inline, static] |
Definition at line 1746 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, rtai_lxrt(), RWL_WRLOCK_IF, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_rwlock_unlock | ( | pthread_rwlock_t * | rwlock | ) | [inline, static] |
Definition at line 1766 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, rtai_lxrt(), RWL_UNLOCK, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_rwlock_wrlock | ( | pthread_rwlock_t * | rwlock | ) | [inline, static] |
Definition at line 1737 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, rtai_lxrt(), RWL_WRLOCK, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_pthread_rwlockattr_destroy | ( | pthread_rwlockattr_t * | attr | ) | [inline, static] |
Definition at line 1781 of file rtai_posix.h.
static int __wrap_pthread_rwlockattr_getkind_np | ( | const pthread_rwlockattr_t * | attr, | |
int * | pref | |||
) | [inline, static] |
Definition at line 1807 of file rtai_posix.h.
static int __wrap_pthread_rwlockattr_getpshared | ( | const pthread_rwlockattr_t * | attr, | |
int * | pshared | |||
) | [inline, static] |
static int __wrap_pthread_rwlockattr_init | ( | pthread_rwlockattr_t * | attr | ) | [inline, static] |
Definition at line 1775 of file rtai_posix.h.
static int __wrap_pthread_rwlockattr_setkind_np | ( | pthread_rwlockattr_t * | attr, | |
int | pref | |||
) | [inline, static] |
Definition at line 1812 of file rtai_posix.h.
static int __wrap_pthread_rwlockattr_setpshared | ( | pthread_rwlockattr_t * | attr, | |
int | pshared | |||
) | [inline, static] |
static int __wrap_sem_close | ( | sem_t * | sem | ) | [inline, static] |
Definition at line 1226 of file rtai_posix.h.
References BIDX, errno, LOW, NAMED_SEM_DELETE, rt_get_name(), rtai_lxrt(), RTAI_PNAME_MAXSZ, SEM_WAIT_IF, SET_ADR, and SIZARG.
Referenced by __wrap_sem_unlink().
Here is the call graph for this function:
static int __wrap_sem_destroy | ( | sem_t * | sem | ) | [inline, static] |
Definition at line 1277 of file rtai_posix.h.
References BIDX, errno, LOW, NAMED_SEM_DELETE, rtai_lxrt(), SEM_WAIT_IF, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_sem_getvalue | ( | sem_t * | sem, | |
int * | sval | |||
) | [inline, static] |
Definition at line 1366 of file rtai_posix.h.
References BIDX, errno, rtai_lxrt_t::i, LOW, rtai_lxrt(), SEM_COUNT, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_sem_init | ( | sem_t * | sem, | |
int | pshared, | |||
unsigned int | value | |||
) | [inline, static] |
Definition at line 1263 of file rtai_posix.h.
References BIDX, CNT_SEM, errno, LOW, NAMED_SEM_INIT, PRIO_Q, rt_get_name(), rtai_lxrt(), SEM_VALUE_MAX, SET_ADR, and SIZARG.
Here is the call graph for this function:
static sem_t* __wrap_sem_open | ( | const char * | namein, | |
int | oflags, | |||
int | value, | |||
int | type | |||
) | [inline, static] |
Definition at line 1186 of file rtai_posix.h.
References BIDX, errno, fd, LOW, NAMED_SEM_INIT, rtai_lxrt(), RTAI_PNAME_MAXSZ, SEM_VALUE_MAX, SIZARG, and str2upr.
Here is the call graph for this function:
static int __wrap_sem_post | ( | sem_t * | sem | ) | [inline, static] |
Definition at line 1355 of file rtai_posix.h.
References BIDX, errno, rtai_lxrt(), SEM_SIGNAL, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_sem_timedwait | ( | sem_t * | sem, | |
const struct timespec * | abstime | |||
) | [inline, static] |
Definition at line 1332 of file rtai_posix.h.
References BIDX, errno, LOW, rtai_lxrt(), RTE_BASE, RTE_TIMOUT, SEM_WAIT_UNTIL, SET_ADR, SIZARG, and timespec2count().
Here is the call graph for this function:
static int __wrap_sem_trywait | ( | sem_t * | sem | ) | [inline, static] |
Definition at line 1313 of file rtai_posix.h.
References BIDX, errno, LOW, rtai_lxrt(), RTE_BASE, SEM_WAIT_IF, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_sem_unlink | ( | const char * | namein | ) | [inline, static] |
Definition at line 1246 of file rtai_posix.h.
References __wrap_sem_close(), errno, fd, RTAI_PNAME_MAXSZ, and str2upr.
Here is the call graph for this function:
static int __wrap_sem_wait | ( | sem_t * | sem | ) | [inline, static] |
Definition at line 1293 of file rtai_posix.h.
References BIDX, errno, LOW, rtai_lxrt(), RTE_BASE, SEM_WAIT, SET_ADR, and SIZARG.
Here is the call graph for this function:
static int __wrap_timer_create | ( | clockid_t | clockid, | |
struct sigevent * | evp, | |||
timer_t * | timerid | |||
) | [inline, static] |
Definition at line 2353 of file rtai_posix.h.
References CLOCK_MONOTONIC, errno, rtai_lxrt_t::i, INIT, pid, PTIMER_CREATE, rt_tasklet_struct, rt_thread_create(), rtai_lxrt(), SIZARG, support_posix_timer(), TASKLET_STACK_SIZE, TASKLETS_IDX, and rtai_lxrt_t::v.
Here is the call graph for this function:
static int __wrap_timer_delete | ( | timer_t | timerid | ) | [inline, static] |
Definition at line 2418 of file rtai_posix.h.
References PTIMER_DELETE, rt_thread_join(), rtai_lxrt(), and TASKLETS_IDX.
Here is the call graph for this function:
static int __wrap_timer_getoverrun | ( | timer_t | timerid | ) | [inline, static] |
Definition at line 2412 of file rtai_posix.h.
References PTIMER_OVERRUN, rtai_lxrt_t::rt, rtai_lxrt(), SIZARG, and TASKLETS_IDX.
Here is the call graph for this function:
static int __wrap_timer_gettime | ( | timer_t | timerid, | |
struct itimerspec * | value | |||
) | [inline, static] |
Definition at line 2388 of file rtai_posix.h.
References count2timespec(), PTIMER_GETTIME, rtai_lxrt(), SIZARG, and TASKLETS_IDX.
Referenced by __wrap_timer_settime().
Here is the call graph for this function:
static int __wrap_timer_settime | ( | timer_t | timerid, | |
int | flags, | |||
const struct itimerspec * | value, | |||
struct itimerspec * | ovalue | |||
) | [inline, static] |
Definition at line 2401 of file rtai_posix.h.
References __wrap_timer_gettime(), PTIMER_SETTIME, rtai_lxrt(), SIZARG, and TASKLETS_IDX.
Here is the call graph for this function:
static void count2timespec | ( | RTIME | rt, | |
struct timespec * | t | |||
) | [inline, static] |
Definition at line 1147 of file rtai_posix.h.
References count2nano().
Referenced by __wrap_clock_gettime(), __wrap_clock_nanosleep(), __wrap_nanosleep(), __wrap_timer_gettime(), and rt_nanosleep().
Here is the call graph for this function:
static void internal_cond_cleanup | ( | void * | mutex | ) | [static] |
Definition at line 1590 of file rtai_posix.h.
References DEC_VAL.
Referenced by __wrap_pthread_cond_timedwait(), and __wrap_pthread_cond_wait().
static int MAKE_SOFT | ( | void | ) | [inline, static] |
Definition at line 1136 of file rtai_posix.h.
References rt_buddy, rt_is_hard_real_time(), and rt_make_soft_real_time().
Referenced by __wrap_clock_settime(), and pthread_setschedparam_np().
Here is the call graph for this function:
static void nanos2timespec | ( | RTIME | rt, | |
struct timespec * | t | |||
) | [inline, static] |
Definition at line 1153 of file rtai_posix.h.
static int pthread_get_adr_np | ( | unsigned long | nameid, | |
void * | adr | |||
) | [inline, static] |
Definition at line 1174 of file rtai_posix.h.
References rt_get_adr(), and SET_ADR.
Here is the call graph for this function:
static int pthread_get_name_np | ( | void * | adr, | |
unsigned long * | nameid | |||
) | [inline, static] |
Definition at line 1169 of file rtai_posix.h.
References rt_get_name(), and SET_ADR.
Here is the call graph for this function:
static int pthread_gettid_np | ( | void | ) | [inline, static] |
Definition at line 1930 of file rtai_posix.h.
References BIDX, dummy(), rtai_lxrt_t::i, RT_GETTID, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static void pthread_hard_real_time_np | ( | void | ) | [inline, static] |
Definition at line 1920 of file rtai_posix.h.
References rt_make_hard_real_time().
Here is the call graph for this function:
static int pthread_make_periodic_np | ( | pthread_t | thread, | |
struct timespec * | start_delay, | |||
struct timespec * | period | |||
) | [inline, static] |
Definition at line 1531 of file rtai_posix.h.
References BIDX, rtai_lxrt_t::i, MAKE_PERIODIC_NS, period, rtai_lxrt(), RTE_UNBLKD, SIZARG, and task.
Here is the call graph for this function:
static int pthread_setschedparam_np | ( | int | priority, | |
int | policy, | |||
int | rr_quantum_ns, | |||
unsigned long | cpus_allowed, | |||
int | mode | |||
) | [inline, static] |
Definition at line 1886 of file rtai_posix.h.
References MAKE_HARD, MAKE_SOFT(), PTHREAD_HARD_REAL_TIME_NP, PTHREAD_STACK_MIN, rt_buddy, rt_change_prio(), rt_get_name(), rt_grow_and_lock_stack, rt_make_hard_real_time(), rt_make_soft_real_time(), rt_set_sched_policy(), rt_task_init_schmod(), and task.
Here is the call graph for this function:
static void pthread_soft_real_time_np | ( | void | ) | [inline, static] |
Definition at line 1925 of file rtai_posix.h.
References rt_make_soft_real_time().
Here is the call graph for this function:
static int pthread_wait_period_np | ( | void | ) | [inline, static] |
Definition at line 1538 of file rtai_posix.h.
References BIDX, dummy(), rtai_lxrt_t::i, rtai_lxrt(), SIZARG, and WAIT_PERIOD.
Here is the call graph for this function:
static int support_posix_timer | ( | void * | data | ) | [static] |
Definition at line 2307 of file rtai_posix.h.
References mlockall, REG_TASK, rt_make_hard_real_time(), rt_make_soft_real_time(), rt_task_delete, rt_task_suspend(), rt_tasklet_struct, rt_thread_init(), rtai_lxrt(), rtai_sti, task, and TASKLETS_IDX.
Referenced by __wrap_timer_create().
Here is the call graph for this function:
static RTIME timespec2count | ( | const struct timespec * | t | ) | [inline, static] |
Definition at line 1159 of file rtai_posix.h.
References nano2count().
Referenced by __wrap_clock_nanosleep(), __wrap_nanosleep(), __wrap_pthread_cond_timedwait(), __wrap_sem_timedwait(), rt_nanosleep(), and rt_ptimer_settime().
Here is the call graph for this function:
static RTIME timespec2nanos | ( | const struct timespec * | t | ) | [inline, static] |
Definition at line 1164 of file rtai_posix.h.