4.104.114.84.95
Last change
on this file since 9c191ee was
9c191ee,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/25/06 at 13:36:58
|
- score/Makefile.am, score/preinstall.am,
score/include/rtems/score/coresem.h,
score/include/rtems/score/object.h,
score/include/rtems/score/states.h,
score/inline/rtems/score/coresem.inl: Add SuperCore? Barriers,
SpinLocks? and a partial implementation of RWLocks.
- score/include/rtems/score/corebarrier.h,
score/include/rtems/score/corerwlock.h,
score/include/rtems/score/corespinlock.h,
score/inline/rtems/score/corebarrier.inl,
score/inline/rtems/score/corerwlock.inl,
score/inline/rtems/score/corespinlock.inl,
score/macros/rtems/score/corebarrier.inl,
score/macros/rtems/score/corerwlock.inl,
score/macros/rtems/score/corespinlock.inl, score/src/corebarrier.c,
score/src/corebarrierrelease.c, score/src/corebarrierwait.c,
score/src/corerwlock.c, score/src/corerwlockobtainread.c,
score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c,
score/src/corespinlock.c, score/src/corespinlockrelease.c,
score/src/corespinlockwait.c: New files.
|
-
Property mode set to
100644
|
File size:
723 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/score/corespinlock.inl |
---|
3 | * |
---|
4 | * This include file contains all of the inlined routines associated |
---|
5 | * with the SuperCore spinlock. |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-2006. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.com/license/LICENSE. |
---|
15 | * |
---|
16 | * $Id$ |
---|
17 | */ |
---|
18 | |
---|
19 | #ifndef _RTEMS_SCORE_CORESPINLOCK_INL |
---|
20 | #define _RTEMS_SCORE_CORESPINLOCK_INL |
---|
21 | |
---|
22 | /** |
---|
23 | * @addtogroup ScoreSpinlock |
---|
24 | * @{ |
---|
25 | */ |
---|
26 | |
---|
27 | RTEMS_INLINE_ROUTINE boolean _CORE_spinlock_Is_busy( |
---|
28 | CORE_spinlock_Control *the_spinlock |
---|
29 | ) |
---|
30 | { |
---|
31 | return (the_spinlock->users != 0); |
---|
32 | } |
---|
33 | |
---|
34 | |
---|
35 | /**@}*/ |
---|
36 | |
---|
37 | #endif |
---|
38 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.