RTEMS CPU Kit with SuperCore
posix/include/rtems/posix/mutex.h
Go to the documentation of this file.
1 
10 /*
11  * COPYRIGHT (c) 1989-2011.
12  * On-Line Applications Research Corporation (OAR).
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_POSIX_MUTEX_H
20 #define _RTEMS_POSIX_MUTEX_H
21 
22 #include <rtems/score/coremutex.h>
23 #include <pthread.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
39 /*
40  * Data Structure used to manage a POSIX mutex
41  */
42 
43 typedef struct {
44  Objects_Control Object;
45  int process_shared;
46  CORE_mutex_Control Mutex;
48 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
56 /* end of include file */
The following defines the Object Control Block used to manage each object local to this node...
Definition: score/include/rtems/score/object.h:232
Definition: posix/include/rtems/posix/mutex.h:43
POSIX Threads Private Support.
Control block used to manage each mutex.
Definition: coremutex.h:149
CORE Mutex API.