forked from Imagelibrary/rtems
2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/thread.inl, score/src/threaddispatch.c: Correct conditionals so _Thread_Enable_dispatch() is always inlined when intended.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* score/inline/rtems/score/thread.inl, score/src/threaddispatch.c:
|
||||||
|
Correct conditionals so _Thread_Enable_dispatch() is always inlined
|
||||||
|
when intended.
|
||||||
|
|
||||||
2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
|
* posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
|
||||||
|
|||||||
@@ -220,7 +220,8 @@ RTEMS_INLINE_ROUTINE void _Thread_Disable_dispatch( void )
|
|||||||
* processor will be transferred to the heir thread.
|
* processor will be transferred to the heir thread.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if ( (CPU_INLINE_ENABLE_DISPATCH == FALSE) || \
|
#if ( (defined(CPU_INLINE_ENABLE_DISPATCH) && \
|
||||||
|
(CPU_INLINE_ENABLE_DISPATCH == FALSE)) || \
|
||||||
(__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1) )
|
(__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1) )
|
||||||
void _Thread_Enable_dispatch( void );
|
void _Thread_Enable_dispatch( void );
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -50,7 +50,8 @@
|
|||||||
* no dispatch thread
|
* no dispatch thread
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if ( (CPU_INLINE_ENABLE_DISPATCH == FALSE) || \
|
#if ( (defined(CPU_INLINE_ENABLE_DISPATCH) && \
|
||||||
|
(CPU_INLINE_ENABLE_DISPATCH == FALSE)) || \
|
||||||
(__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1) )
|
(__RTEMS_DO_NOT_INLINE_THREAD_ENABLE_DISPATCH__ == 1) )
|
||||||
void _Thread_Enable_dispatch( void )
|
void _Thread_Enable_dispatch( void )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user