4.115
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Inlined Routines Associated with the SuperCore RWLock |
---|
5 | * |
---|
6 | * This include file contains all of the inlined routines associated |
---|
7 | * with the SuperCore RWLock. |
---|
8 | */ |
---|
9 | |
---|
10 | /* |
---|
11 | * COPYRIGHT (c) 1989-2008. |
---|
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.com/license/LICENSE. |
---|
17 | */ |
---|
18 | |
---|
19 | #ifndef _RTEMS_SCORE_CORERWLOCK_H |
---|
20 | # error "Never use <rtems/score/corerwlock.inl> directly; include <rtems/score/corerwlock.h> instead." |
---|
21 | #endif |
---|
22 | |
---|
23 | #ifndef _RTEMS_SCORE_CORERWLOCK_INL |
---|
24 | #define _RTEMS_SCORE_CORERWLOCK_INL |
---|
25 | |
---|
26 | /** |
---|
27 | * @addtogroup ScoreRWLock |
---|
28 | * |
---|
29 | * @{ |
---|
30 | */ |
---|
31 | |
---|
32 | #include <rtems/score/thread.h> |
---|
33 | #include <rtems/score/threadq.h> |
---|
34 | |
---|
35 | /** |
---|
36 | * This method is used to initialize core rwlock attributes. |
---|
37 | * |
---|
38 | * @param[in] the_attributes pointer to the attributes to initialize. |
---|
39 | */ |
---|
40 | RTEMS_INLINE_ROUTINE void _CORE_RWLock_Initialize_attributes( |
---|
41 | CORE_RWLock_Attributes *the_attributes |
---|
42 | ) |
---|
43 | { |
---|
44 | the_attributes->XXX = 0; |
---|
45 | } |
---|
46 | |
---|
47 | |
---|
48 | /** @} */ |
---|
49 | |
---|
50 | #endif |
---|
51 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.