From 4b1d26142c68cd1eeaa5a8da1ff8c120508775c0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 30 Jul 2010 18:53:06 +0000 Subject: 2010-07-30 Gedare Bloom PR 1599/cpukit * posix/src/psignalunblockthread.c, posix/src/pthreadkill.c, rtems/src/signalsend.c, score/include/rtems/score/percpu.h, score/inline/rtems/score/thread.inl, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threaddispatch.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetstate.c, score/src/threadstartmultitasking.c, score/src/threadsuspend.c, score/src/threadyieldprocessor.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent. --- cpukit/posix/src/psignalunblockthread.c | 2 +- cpukit/posix/src/pthreadkill.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/posix') diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c index 00ac214404..baa55c34c2 100644 --- a/cpukit/posix/src/psignalunblockthread.c +++ b/cpukit/posix/src/psignalunblockthread.c @@ -113,7 +113,7 @@ bool _POSIX_signals_Unblock_thread( } else if ( the_thread->current_state == STATES_READY ) { if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) ) - _Context_Switch_necessary = true; + _Thread_Dispatch_necessary = true; } } return false; diff --git a/cpukit/posix/src/pthreadkill.c b/cpukit/posix/src/pthreadkill.c index 6d96067049..44d3146fe6 100644 --- a/cpukit/posix/src/pthreadkill.c +++ b/cpukit/posix/src/pthreadkill.c @@ -64,7 +64,7 @@ int pthread_kill( (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL ); if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) ) - _Context_Switch_necessary = true; + _Thread_Dispatch_necessary = true; } _Thread_Enable_dispatch(); return 0; -- cgit v1.2.3