RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
condition.c File Reference

This source file contains the implementation of _Condition_Wait(), _Condition_Wait_timed(), _Condition_Wait_recursive(), _Condition_Wait_recursive_timed(), _Condition_Wait_recursive_timed_ticks(), _Condition_Signal(), and _Condition_Broadcast(). More...

#include <sys/lock.h>
#include <errno.h>
#include <limits.h>
#include <rtems/score/atomic.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>

Data Structures

struct  Condition_Control
 
struct  Condition_Enqueue_context
 
struct  Condition_Flush_context
 

Macros

#define CONDITION_TQ_OPERATIONS   &_Thread_queue_Operations_FIFO
 

Functions

 RTEMS_STATIC_ASSERT (offsetof(Condition_Control, Queue)==offsetof(struct _Condition_Control, _Queue), CONDITION_CONTROL_QUEUE)
 
 RTEMS_STATIC_ASSERT (sizeof(Condition_Control)==sizeof(struct _Condition_Control), CONDITION_CONTROL_SIZE)
 
void _Condition_Wait (struct _Condition_Control *_condition, struct _Mutex_Control *_mutex)
 
int _Condition_Wait_timed (struct _Condition_Control *_condition, struct _Mutex_Control *_mutex, const struct timespec *abstime)
 
void _Condition_Wait_recursive (struct _Condition_Control *_condition, struct _Mutex_recursive_Control *_mutex)
 
int _Condition_Wait_recursive_timed (struct _Condition_Control *_condition, struct _Mutex_recursive_Control *_mutex, const struct timespec *abstime)
 
void _Condition_Signal (struct _Condition_Control *_condition)
 
void _Condition_Broadcast (struct _Condition_Control *_condition)
 

Detailed Description

This source file contains the implementation of _Condition_Wait(), _Condition_Wait_timed(), _Condition_Wait_recursive(), _Condition_Wait_recursive_timed(), _Condition_Wait_recursive_timed_ticks(), _Condition_Signal(), and _Condition_Broadcast().