RTEMS
5.1
|
#include <errno.h>
#include <pthread.h>
#include <rtems/score/percpu.h>
#include <rtems/score/threadqimpl.h>
Go to the source code of this file.
Data Structures | |
struct | POSIX_Condition_variables_Control |
Macros | |
#define | POSIX_CONDITION_VARIABLES_CLOCK_MONOTONIC 0x1UL |
#define | POSIX_CONDITION_VARIABLES_FLAGS_MASK 0x1UL |
#define | POSIX_CONDITION_VARIABLES_MAGIC 0x18dfb1feUL |
#define | POSIX_CONDITION_VARIABLES_NO_MUTEX NULL |
#define | POSIX_CONDITION_VARIABLES_TQ_OPERATIONS &_Thread_queue_Operations_FIFO |
#define | POSIX_CONDITION_VARIABLE_OF_THREAD_QUEUE_QUEUE(queue) |
#define | POSIX_CONDITION_VARIABLES_VALIDATE_OBJECT(the_cond, flags) |
Functions | |
RTEMS_INLINE_ROUTINE void | _POSIX_Condition_variables_Initialize (POSIX_Condition_variables_Control *the_cond, const pthread_condattr_t *the_attr) |
RTEMS_INLINE_ROUTINE void | _POSIX_Condition_variables_Destroy (POSIX_Condition_variables_Control *the_cond) |
RTEMS_INLINE_ROUTINE clockid_t | _POSIX_Condition_variables_Get_clock (unsigned long flags) |
RTEMS_INLINE_ROUTINE Thread_Control * | _POSIX_Condition_variables_Acquire (POSIX_Condition_variables_Control *the_cond, Thread_queue_Context *queue_context) |
RTEMS_INLINE_ROUTINE void | _POSIX_Condition_variables_Release (POSIX_Condition_variables_Control *the_cond, Thread_queue_Context *queue_context) |
int | _POSIX_Condition_variables_Signal_support (pthread_cond_t *cond, bool is_broadcast) |
Implements wake up version of the "signal" operation. More... | |
int | _POSIX_Condition_variables_Wait_support (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime) |
POSIX condition variables wait support. More... | |
bool | _POSIX_Condition_variables_Auto_initialization (POSIX_Condition_variables_Control *the_cond) |
Variables | |
const pthread_condattr_t | _POSIX_Condition_variables_Default_attributes |
This include file contains the static inline implementation of the private inlined routines for POSIX condition variables.
#define POSIX_CONDITION_VARIABLE_OF_THREAD_QUEUE_QUEUE | ( | queue | ) |
#define POSIX_CONDITION_VARIABLES_NO_MUTEX NULL |
Constant to indicate condition variable does not currently have a mutex assigned to it.
#define POSIX_CONDITION_VARIABLES_VALIDATE_OBJECT | ( | the_cond, | |
flags | |||
) |
int _POSIX_Condition_variables_Signal_support | ( | pthread_cond_t * | cond, |
bool | is_broadcast | ||
) |
Implements wake up version of the "signal" operation.
A support routine which implements guts of the broadcast and single task wake up version of the "signal" operation.
int _POSIX_Condition_variables_Wait_support | ( | pthread_cond_t * | cond, |
pthread_mutex_t * | mutex, | ||
const struct timespec * | abstime | ||
) |
POSIX condition variables wait support.
A support routine which implements guts of the blocking, non-blocking, and timed wait version of condition variable wait routines.
const pthread_condattr_t _POSIX_Condition_variables_Default_attributes |
The default condition variable attributes structure.