summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cancelrun.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
commit874297f3bea7761cf05ae26540b7a9e21d4a6e1d (patch)
tree3f514864e20beb9becc81d77053abec90d281a1a /cpukit/posix/src/cancelrun.c
parentRemove stray white spaces. (diff)
downloadrtems-874297f3bea7761cf05ae26540b7a9e21d4a6e1d.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/posix/src/cancelrun.c')
-rw-r--r--cpukit/posix/src/cancelrun.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/posix/src/cancelrun.c b/cpukit/posix/src/cancelrun.c
index 3eda8edabe..17fa55bdc6 100644
--- a/cpukit/posix/src/cancelrun.c
+++ b/cpukit/posix/src/cancelrun.c
@@ -24,7 +24,7 @@
*
*/
-void _POSIX_Threads_cancel_run(
+void _POSIX_Threads_cancel_run(
Thread_Control *the_thread
)
{
@@ -32,20 +32,20 @@ void _POSIX_Threads_cancel_run(
Chain_Control *handler_stack;
POSIX_API_Control *thread_support;
ISR_Level level;
-
+
thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];
-
+
handler_stack = &thread_support->Cancellation_Handlers;
-
+
thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;
while ( !_Chain_Is_empty( handler_stack ) ) {
_ISR_Disable( level );
- handler = (POSIX_Cancel_Handler_control *)
+ handler = (POSIX_Cancel_Handler_control *)
_Chain_Tail( handler_stack )->previous;
_Chain_Extract_unprotected( &handler->Node );
_ISR_Enable( level );
-
+
(*handler->routine)( handler->arg );
_Workspace_Free( handler );