FreeRTOS:
POSIX
Return to main page ↑
Functions
Functions of the posix library.
The posix library consists of the following functions.
mq_close
Close a message queue.
mq_getattr
Get message queue attributes.
mq_open
Open a message queue.
mq_receive
Receive a message from a message queue.
mq_send
Send a message to a message queue.
mq_timedreceive
Receive a message from a message queue with timeout.
mq_timedsend
Send a message to a message queue with timeout.
mq_unlink
Remove a message queue.
pthread_attr_destroy
Destroy the thread attributes object.
pthread_attr_getdetachstate
Get detachstate attribute.
pthread_attr_getschedparam
Get schedparam attribute.
pthread_attr_getstacksize
Get stacksize attribute.
pthread_attr_init
Initialize the thread attributes object.
pthread_attr_setdetachstate
Set detachstate attribute.
pthread_attr_setschedparam
Set schedparam attribute.
pthread_attr_setschedpolicy
Set the schedpolicy attribute.
pthread_attr_setstacksize
Set stacksize attribute.
pthread_barrier_destroy
Destroy a barrier object.
pthread_barrier_init
Initialize a barrier object.
pthread_barrier_wait
Synchronize at a barrier.
pthread_create
Thread creation.
pthread_cond_broadcast
Broadcast a condition.
pthread_cond_destroy
Destroy condition variables.
pthread_cond_init
Initialize condition variables.
pthread_cond_signal
Signal a condition.
pthread_cond_timedwait
Wait on a condition with a timeout.
pthread_cond_wait
Wait on a condition.
pthread_equal
Compare thread IDs.
pthread_exit
Thread termination.
pthread_getschedparam
Dynamic thread scheduling parameters access.
pthread_join
Wait for thread termination.
pthread_mutex_destroy
Destroy a mutex.
pthread_mutex_init
Initialize a mutex.
pthread_mutex_lock
Lock a mutex.
pthread_mutex_timedlock
Lock a mutex with timeout.
pthread_mutex_trylock
Attempt to lock a mutex. Fail immediately if mutex is already locked.
pthread_mutex_unlock
Unlock a mutex.
pthread_mutexattr_destroy
Destroy the mutex attributes object.
pthread_mutexattr_gettype
Get the mutex type attribute.
pthread_cond_timedwait
Wait on a condition with a timeout.
pthread_mutexattr_init
Initialize the mutex attributes object.
pthread_mutexattr_settype
Set the mutex type attribute.
pthread_self
Get the calling thread ID.
pthread_setschedparam
Dynamic thread scheduling parameters access.
sched_get_priority_max
Get priority limit (max).
sched_get_priority_min
Get priority limit (min).
sched_yield
Yield the processor.
sem_destroy
Destroy an unnamed semaphore.
sem_getvalue
Get the value of a semaphore.
sem_init
Initialize an unnamed semaphore.
sem_post
Unlock a semaphore.
sem_timedwait
Lock a semaphore with timeout.
sem_trywait
Lock a semaphore if available.
sem_wait
Lock a semaphore.
clock
Report CPU time used.
clock_getcpuclockid
Access a process CPU-time clock.
clock_getres
Returns the resolution of a clock.
clock_gettime
Returns the current value for the specified clock, clock_id.
clock_nanosleep
High resolution sleep with specifiable clock.
clock_settime
Sets the time for the specified clock.
nanosleep
High resolution sleep.
timer_create
Create a per-process timer.
timer_delete
Delete a per-process timer.
timer_getoverrun
Get the timer overrun count.
timer_gettime
Get the amount of time until the timer expires.
timer_settime
Set the time until the next expiration of the timer.
sleep
Suspend execution for an interval of time.
usleep
Suspend execution for microsecond intervals.
UTILS_strnlen
Calculates the length of pcString, up to xMaxLength.
UTILS_AbsoluteTimespecToDeltaTicks
Calculates the number of ticks between now and a given timespec.
UTILS_TimespecToTicks
Converts a struct timespec to FreeRTOS ticks.
UTILS_NanosecondsToTimespec
Converts an integer value to a timespec.
UTILS_TimespecAdd
Calculates pxResult = x + y.
UTILS_TimespecAddNanoseconds
Calculates pxResult = x + ( struct timespec ) nanosec.
UTILS_TimespecSubtract
Calculates pxResult = x - y. If the result is negative contents of pResult are undefined.
UTILS_TimespecCompare
Compare x == y.
UTILS_ValidateTimespec
Checks that a timespec conforms to POSIX.
Generated by
1.8.13
Last updated Tue Jun 29 2021