diff options
Diffstat (limited to 'cpukit/score/inline')
-rw-r--r-- | cpukit/score/inline/rtems/score/corerwlock.inl | 4 | ||||
-rw-r--r-- | cpukit/score/inline/rtems/score/corespinlock.inl | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/cpukit/score/inline/rtems/score/corerwlock.inl b/cpukit/score/inline/rtems/score/corerwlock.inl index 31ca5f0dc0..55d5fa71cb 100644 --- a/cpukit/score/inline/rtems/score/corerwlock.inl +++ b/cpukit/score/inline/rtems/score/corerwlock.inl @@ -1,12 +1,12 @@ /** - * @file rtems/score/coreRWLock.inl + * @file rtems/score/corerwlock.inl * * This include file contains all of the inlined routines associated * with the SuperCore RWLock. */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be diff --git a/cpukit/score/inline/rtems/score/corespinlock.inl b/cpukit/score/inline/rtems/score/corespinlock.inl index e0f3feeec2..9f83deec49 100644 --- a/cpukit/score/inline/rtems/score/corespinlock.inl +++ b/cpukit/score/inline/rtems/score/corespinlock.inl @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -24,6 +24,15 @@ * @{ */ +/** + * + * This method is used to determine if the spinlock is available or not. + * + * @param[in] the_spinlock will be checked + * + * @return This method will return TRUE if the spinlock is busy + * and FALSE otherwise. + */ RTEMS_INLINE_ROUTINE boolean _CORE_spinlock_Is_busy( CORE_spinlock_Control *the_spinlock ) @@ -31,7 +40,6 @@ RTEMS_INLINE_ROUTINE boolean _CORE_spinlock_Is_busy( return (the_spinlock->users != 0); } - /**@}*/ #endif |