5
Last change
on this file since 97312fcc was
97312fcc,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/05/16 at 12:36:30
|
score: Delete Thread_Wait_information::id
This field was only by the monitor in non-multiprocessing
configurations. Add new field Thread_Wait_information::remote_id in
multiprocessing configurations and use it for the remote procedure call
thread queue.
Add _Thread_Wait_get_id() to obtain the object identifier for debug and
system information tools. Ensure the object layout via static asserts.
Add test cases to sptests/spthreadq01.
|
-
Property mode set to
100644
|
File size:
971 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief POSIX MUTEX Support |
---|
5 | * |
---|
6 | * This include file contains all the private support information for |
---|
7 | * POSIX mutex's. |
---|
8 | */ |
---|
9 | |
---|
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 | |
---|
29 | /** |
---|
30 | * @defgroup POSIX_MUTEX POSIX Mutex Support |
---|
31 | * |
---|
32 | * @ingroup POSIXAPI |
---|
33 | * |
---|
34 | * @brief Private Support Information for POSIX Mutex |
---|
35 | * |
---|
36 | */ |
---|
37 | /**@{**/ |
---|
38 | |
---|
39 | /* |
---|
40 | * Data Structure used to manage a POSIX mutex |
---|
41 | */ |
---|
42 | |
---|
43 | typedef struct { |
---|
44 | Objects_Control Object; |
---|
45 | CORE_mutex_Control Mutex; |
---|
46 | int process_shared; |
---|
47 | } POSIX_Mutex_Control; |
---|
48 | |
---|
49 | /** @} */ |
---|
50 | |
---|
51 | #ifdef __cplusplus |
---|
52 | } |
---|
53 | #endif |
---|
54 | |
---|
55 | #endif |
---|
56 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.