5
Last change
on this file since de59c065 was
de59c065,
checked in by Sebastian Huber <sebastian.huber@…>, on 09/27/17 at 13:08:33
|
posix: Implement self-contained POSIX mutex
POSIX mutexes are now available in all configurations and no longer
depend on --enable-posix.
Update #2514.
Update #3112.
|
-
Property mode set to
100644
|
File size:
761 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2015, 2017 embedded brains GmbH. All rights reserved. |
---|
3 | * |
---|
4 | * embedded brains GmbH |
---|
5 | * Dornierstr. 4 |
---|
6 | * 82178 Puchheim |
---|
7 | * Germany |
---|
8 | * <rtems@embedded-brains.de> |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.org/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #ifndef _RTEMS_SCORE_MUTEXIMPL_H |
---|
16 | #define _RTEMS_SCORE_MUTEXIMPL_H |
---|
17 | |
---|
18 | #include <rtems/score/threadqimpl.h> |
---|
19 | |
---|
20 | #ifdef __cplusplus |
---|
21 | extern "C" { |
---|
22 | #endif /* __cplusplus */ |
---|
23 | |
---|
24 | typedef struct { |
---|
25 | Thread_queue_Syslock_queue Queue; |
---|
26 | } Mutex_Control; |
---|
27 | |
---|
28 | typedef struct { |
---|
29 | Mutex_Control Mutex; |
---|
30 | unsigned int nest_level; |
---|
31 | } Mutex_recursive_Control; |
---|
32 | |
---|
33 | #ifdef __cplusplus |
---|
34 | } |
---|
35 | #endif /* __cplusplus */ |
---|
36 | |
---|
37 | #endif /* _RTEMS_SCORE_MUTEXIMPL_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.