Orocos Real-Time Toolkit
2.8.3
|
#include <stdio.h>
#include <pthread.h>
#include <mach/mach_init.h>
#include <mach/task.h>
#include <errno.h>
#include <limits.h>
#include <float.h>
#include <assert.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include <mach/semaphore.h>
Go to the source code of this file.
Classes | |
struct | RTOS_TASK |
Macros | |
#define | _DARWIN_C_SOURCE |
#define | HAVE_FOSI_API |
#define | ORO_WAIT_ABS |
#define | ORO_WAIT_REL |
#define | ORO_SCHED_RT SCHED_FIFO /** Posix FIFO scheduler */ |
#define | ORO_SCHED_OTHER SCHED_OTHER /** Posix normal scheduler */ |
#define | CLOCK_REALTIME 0 |
#define | rtos_printf printf |
Typedefs | |
typedef long long | NANO_TIME |
typedef long long | TICK_TIME |
typedef struct timespec | TIME_SPEC |
typedef semaphore_t | rt_sem_t |
typedef struct rt_mutex_impl_t | rt_mutex_impl_t |
typedef rt_mutex_impl_t * | rt_mutex_t |
Functions | |
int | rtos_mutex_init (rt_mutex_t *m) |
int | rtos_mutex_destroy (rt_mutex_t *m) |
int | rtos_mutex_lock (rt_mutex_t *m) |
int | rtos_mutex_unlock (rt_mutex_t *m) |
#define CLOCK_REALTIME 0 |
Definition at line 79 of file fosi.h.
Referenced by RTT::mqueue::MQSendRecv::mqReady().
#define ORO_SCHED_OTHER SCHED_OTHER /** Posix normal scheduler */ |
typedef struct rt_mutex_impl_t rt_mutex_impl_t |
typedef rt_mutex_impl_t* rt_mutex_t |
int rtos_mutex_destroy | ( | rt_mutex_t * | m | ) |
Definition at line 305 of file fosi_internal.cpp.
Referenced by rtos_nanosleep(), and rtos_printf().
int rtos_mutex_init | ( | rt_mutex_t * | m | ) |
Definition at line 298 of file fosi_internal.cpp.
Referenced by rtos_nanosleep(), and rtos_printf().
int rtos_mutex_lock | ( | rt_mutex_t * | m | ) |
Definition at line 314 of file fosi_internal.cpp.
Referenced by rtos_nanosleep(), and rtos_printf().
int rtos_mutex_unlock | ( | rt_mutex_t * | m | ) |
Definition at line 322 of file fosi_internal.cpp.
Referenced by rtos_nanosleep(), and rtos_printf().