summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/corebarrierimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-19 15:07:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-21 07:29:40 +0200
commit3d0c4005589c15e3ed5688129c62c97c272fbc83 (patch)
treeb978cb6bdaa233fb03cf78b99674b66e76b7e654 /cpukit/score/include/rtems/score/corebarrierimpl.h
parentscore: Rename _MRSP_Obtain() (diff)
downloadrtems-3d0c4005589c15e3ed5688129c62c97c272fbc83.tar.bz2
score: Rename _CORE_barrier_Wait()
Rename _CORE_barrier_Wait() into _CORE_barrier_Seize(). Rename _CORE_barrier_Release() into _CORE_barrier_Surrender(). This avoids confusion with the ISR lock acquire and release.
Diffstat (limited to 'cpukit/score/include/rtems/score/corebarrierimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/corebarrierimpl.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpukit/score/include/rtems/score/corebarrierimpl.h b/cpukit/score/include/rtems/score/corebarrierimpl.h
index 03abecf4e3..454c2c9801 100644
--- a/cpukit/score/include/rtems/score/corebarrierimpl.h
+++ b/cpukit/score/include/rtems/score/corebarrierimpl.h
@@ -84,7 +84,7 @@ RTEMS_INLINE_ROUTINE void _CORE_barrier_Destroy(
_Thread_queue_Destroy( &the_barrier->Wait_queue );
}
-void _CORE_barrier_Do_wait(
+void _CORE_barrier_Do_seize(
CORE_barrier_Control *the_barrier,
Thread_Control *executing,
bool wait,
@@ -116,7 +116,7 @@ void _CORE_barrier_Do_wait(
* @note Status is returned via the thread control block.
*/
#if defined(RTEMS_MULTIPROCESSING)
- #define _CORE_barrier_Wait( \
+ #define _CORE_barrier_Seize( \
the_barrier, \
executing, \
wait, \
@@ -124,7 +124,7 @@ void _CORE_barrier_Do_wait(
mp_callout, \
mp_id \
) \
- _CORE_barrier_Do_wait( \
+ _CORE_barrier_Do_seize( \
the_barrier, \
executing, \
wait, \
@@ -133,7 +133,7 @@ void _CORE_barrier_Do_wait(
mp_id \
)
#else
- #define _CORE_barrier_Wait( \
+ #define _CORE_barrier_Seize( \
the_barrier, \
executing, \
wait, \
@@ -141,7 +141,7 @@ void _CORE_barrier_Do_wait(
mp_callout, \
mp_id \
) \
- _CORE_barrier_Do_wait( \
+ _CORE_barrier_Do_seize( \
the_barrier, \
executing, \
wait, \
@@ -149,7 +149,7 @@ void _CORE_barrier_Do_wait(
)
#endif
-uint32_t _CORE_barrier_Do_release(
+uint32_t _CORE_barrier_Do_surrender(
CORE_barrier_Control *the_barrier
#if defined(RTEMS_MULTIPROCESSING)
,
@@ -172,23 +172,23 @@ uint32_t _CORE_barrier_Do_release(
* @retval the number of unblocked threads
*/
#if defined(RTEMS_MULTIPROCESSING)
- #define _CORE_barrier_Release( \
+ #define _CORE_barrier_Surrender( \
the_barrier, \
mp_callout, \
mp_id \
) \
- _CORE_barrier_Do_release( \
+ _CORE_barrier_Do_surrender( \
the_barrier, \
mp_callout, \
mp_id \
)
#else
- #define _CORE_barrier_Release( \
+ #define _CORE_barrier_Surrender( \
the_barrier, \
mp_callout, \
mp_id \
) \
- _CORE_barrier_Do_release( \
+ _CORE_barrier_Do_surrender( \
the_barrier \
)
#endif