diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 15:07:39 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:40 +0200 |
commit | 3d0c4005589c15e3ed5688129c62c97c272fbc83 (patch) | |
tree | b978cb6bdaa233fb03cf78b99674b66e76b7e654 /cpukit/score/src/corebarrierwait.c | |
parent | score: Rename _MRSP_Obtain() (diff) | |
download | rtems-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/src/corebarrierwait.c')
-rw-r--r-- | cpukit/score/src/corebarrierwait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/corebarrierwait.c b/cpukit/score/src/corebarrierwait.c index 689ead0331..11495e5e69 100644 --- a/cpukit/score/src/corebarrierwait.c +++ b/cpukit/score/src/corebarrierwait.c @@ -23,7 +23,7 @@ #include <rtems/score/statesimpl.h> #include <rtems/score/threadqimpl.h> -void _CORE_barrier_Do_wait( +void _CORE_barrier_Do_seize( CORE_barrier_Control *the_barrier, Thread_Control *executing, bool wait, @@ -45,7 +45,7 @@ void _CORE_barrier_Do_wait( the_barrier->Attributes.maximum_count) { executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED; _Thread_queue_Release( &the_barrier->Wait_queue, &lock_context ); - _CORE_barrier_Release( the_barrier, mp_callout, mp_id ); + _CORE_barrier_Surrender( the_barrier, mp_callout, mp_id ); return; } } |