47 #ifndef ORO_FOSI_INTERFACE_H 48 #define ORO_FOSI_INTERFACE_H 50 #error "This file is a template for developers, do not include directly." 64 #define ORO_SCHED_RT 0 65 #define ORO_SCHED_OTHER 1 70 typedef long long NANO_TIME; 149 #endif // ORO_FOSI_INTERFACE_H NANO_TIME ticks2nano(TICK_TIME count)
int rtos_mutex_rec_lock(rt_rec_mutex_t *m)
int rtos_cond_destroy(rt_cond_t *cond)
int rtos_mutex_unlock(rt_mutex_t *m)
int rtos_mutex_rec_init(rt_rec_mutex_t *m)
int rtos_sem_trywait(rt_sem_t *m)
int rtos_mutex_rec_trylock(rt_rec_mutex_t *m)
int rtos_sem_signal(rt_sem_t *m)
int rtos_mutex_rec_trylock_for(rt_rec_mutex_t *m, NANO_TIME relative_time)
int rtos_cond_timedwait(rt_cond_t *cond, rt_mutex_t *mutex, NANO_TIME abs_time)
int rtos_cond_wait(rt_cond_t *cond, rt_mutex_t *mutex)
NANO_TIME rtos_get_time_ns(void)
int rtos_mutex_rec_unlock(rt_rec_mutex_t *m)
void rtos_disable_rt_warning()
int rtos_mutex_lock(rt_mutex_t *m)
int rtos_sem_destroy(rt_sem_t *m)
int rtos_mutex_lock_until(rt_mutex_t *m, NANO_TIME abs_time)
int rtos_mutex_rec_lock_until(rt_rec_mutex_t *m, NANO_TIME abs_time)
int rtos_mutex_init(rt_mutex_t *m)
int rtos_mutex_destroy(rt_mutex_t *m)
int rtos_mutex_trylock(rt_mutex_t *m)
int rtos_sem_init(rt_sem_t *m, int value)
int rtos_sem_value(rt_sem_t *m)
int rtos_printf(const char *fmt,...)
TICK_TIME nano2ticks(NANO_TIME nano)
int rtos_mutex_trylock_for(rt_mutex_t *m, NANO_TIME relative_time)
void rtos_enable_rt_warning()
int rtos_cond_init(rt_cond_t *cond)
TICK_TIME rtos_get_time_ticks(void)
int rtos_sem_wait(rt_sem_t *m)
int rtos_cond_broadcast(rt_cond_t *cond)
int rtos_mutex_rec_destroy(rt_rec_mutex_t *m)