RTEMS: cpukit/include/rtems/score/muteximpl.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
muteximpl.h
Go to the documentation of this file.
1
9/*
10 * Copyright (c) 2015, 2017 embedded brains GmbH. All rights reserved.
11 *
12 * embedded brains GmbH
13 * Dornierstr. 4
14 * 82178 Puchheim
15 * Germany
16 * <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#ifndef _RTEMS_SCORE_MUTEXIMPL_H
24#define _RTEMS_SCORE_MUTEXIMPL_H
25
26#include <rtems/score/threadqimpl.h>
27
34#ifdef __cplusplus
35extern "C" {
36#endif /* __cplusplus */
37
38 typedef struct {
39 Thread_queue_Syslock_queue Queue;
40} Mutex_Control;
41
42 typedef struct {
43 Mutex_Control Mutex;
44 unsigned int nest_level;
45} Mutex_recursive_Control;
46
47#ifdef __cplusplus
48}
49#endif /* __cplusplus */
50
53#endif /* _RTEMS_SCORE_MUTEXIMPL_H */
Mutex_Control
Definition: muteximpl.h:38
Mutex_recursive_Control
Definition: muteximpl.h:42
Thread_queue_Syslock_queue
Thread queue with a layout compatible to struct _Thread_queue_Queue defined in Newlib <sys/lock....
Definition: threadqimpl.h:54
threadqimpl.h
Constants and Structures Associated with the Manipulation of Objects.