diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-01 20:42:48 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-02 12:41:03 +0100 |
commit | 5b6c290ed0fae8f9afd343c891e6d3650ef22492 (patch) | |
tree | f01c2825980599091959ff403c98fb95ee5851d3 /cpukit/score/include/rtems/score/threadimpl.h | |
parent | posix: Fix typo (diff) | |
download | rtems-5b6c290ed0fae8f9afd343c891e6d3650ef22492.tar.bz2 |
score: Initialize thread queue context early
Initialize thread queue context early preferably outside the critical
section.
Remove implicit _Thread_queue_Context_initialize() from
_Thread_Wait_acquire().
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index a38b23c2b6..f131bbd506 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -1333,8 +1333,6 @@ RTEMS_INLINE_ROUTINE void _Thread_Wait_release_queue_critical( * @param[in] the_thread The thread. * @param[in] queue_context The thread queue context for the corresponding * _Thread_Wait_release_critical(). - * - * @see _Thread_queue_Context_initialize(). */ RTEMS_INLINE_ROUTINE void _Thread_Wait_acquire_critical( Thread_Control *the_thread, @@ -1397,7 +1395,6 @@ RTEMS_INLINE_ROUTINE void _Thread_Wait_acquire( Thread_queue_Context *queue_context ) { - _Thread_queue_Context_initialize( queue_context ); _ISR_lock_ISR_disable( &queue_context->Lock_context.Lock_context ); _Thread_Wait_acquire_critical( the_thread, queue_context ); } |