summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/testcancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/testcancel.c')
-rw-r--r--cpukit/posix/src/testcancel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/testcancel.c b/cpukit/posix/src/testcancel.c
index 08a423747f..8d80794e2d 100644
--- a/cpukit/posix/src/testcancel.c
+++ b/cpukit/posix/src/testcancel.c
@@ -33,11 +33,11 @@ void pthread_testcancel( void )
* and the ISR context is not a thread.
*/
- if ( _ISR_Is_in_progress() )
+ if ( _ISR_Is_in_progress() )
return;
thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
-
+
_Thread_Disable_dispatch();
if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelation_requested )