RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
thread.h File Reference

This header file provides the API of Self-Contained Objects. More...

#include <sys/lock.h>
#include <errno.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  rtems_binary_semaphore
 

Macros

#define RTEMS_MUTEX_INITIALIZER(name)   _MUTEX_NAMED_INITIALIZER( name )
 
#define RTEMS_RECURSIVE_MUTEX_INITIALIZER(name)    _MUTEX_RECURSIVE_NAMED_INITIALIZER( name )
 
#define RTEMS_CONDITION_VARIABLE_INITIALIZER(name)    _CONDITION_NAMED_INITIALIZER( name )
 
#define RTEMS_COUNTING_SEMAPHORE_INITIALIZER(name, value)    _SEMAPHORE_NAMED_INITIALIZER( name, value )
 
#define RTEMS_BINARY_SEMAPHORE_INITIALIZER(name)    { _SEMAPHORE_NAMED_INITIALIZER( name, 0 ) }
 

Typedefs

typedef struct _Mutex_Control rtems_mutex
 
typedef struct _Mutex_recursive_Control rtems_recursive_mutex
 
typedef struct _Condition_Control rtems_condition_variable
 
typedef struct _Semaphore_Control rtems_counting_semaphore
 

Functions

__BEGIN_DECLS int _Semaphore_Wait_timed_ticks (struct _Semaphore_Control *, __uint32_t)
 
int _Semaphore_Try_wait (struct _Semaphore_Control *)
 
void _Semaphore_Post_binary (struct _Semaphore_Control *)
 

Detailed Description

This header file provides the API of Self-Contained Objects.