diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-02 14:04:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-19 12:00:47 +0200 |
commit | b76dd97990844ad0a0ff6cefadd433b681805a35 (patch) | |
tree | 856307e46bb7eef1199ed9c69308b723b6e1758d /cpukit/score/include/rtems/score | |
parent | score: Delete _CORE_semaphore_Seize() (diff) | |
download | rtems-b76dd97990844ad0a0ff6cefadd433b681805a35.tar.bz2 |
score: Inline _CORE_semaphore_Flush()
Diffstat (limited to 'cpukit/score/include/rtems/score')
-rw-r--r-- | cpukit/score/include/rtems/score/coresemimpl.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/coresemimpl.h b/cpukit/score/include/rtems/score/coresemimpl.h index 7e967ed488..dcea1a3737 100644 --- a/cpukit/score/include/rtems/score/coresemimpl.h +++ b/cpukit/score/include/rtems/score/coresemimpl.h @@ -140,11 +140,18 @@ CORE_semaphore_Status _CORE_semaphore_Surrender( * thread unblocked is remote * @param[in] status is the status to be returned to the unblocked thread */ -void _CORE_semaphore_Flush( +RTEMS_INLINE_ROUTINE void _CORE_semaphore_Flush( CORE_semaphore_Control *the_semaphore, Thread_queue_Flush_callout remote_extract_callout, uint32_t status -); +) +{ + _Thread_queue_Flush( + &the_semaphore->Wait_queue, + remote_extract_callout, + status + ); +} /** * This function returns true if the priority attribute is |