From 75eaf66aa17ba449dbf6d860c933c1ea6cf89566 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 21 Jul 2009 14:16:00 +0000 Subject: 2009-07-21 Joel Sherrill * posix/include/rtems/posix/cancel.h, posix/src/cancel.c, posix/src/canceleval.c, posix/src/setcancelstate.c, posix/src/setcanceltype.c: Fix a minor bug in the previous modification which resulted in psxcancel failing. --- cpukit/posix/src/setcanceltype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix/src/setcanceltype.c') diff --git a/cpukit/posix/src/setcanceltype.c b/cpukit/posix/src/setcanceltype.c index 628bc38dbc..224a8fb11d 100644 --- a/cpukit/posix/src/setcanceltype.c +++ b/cpukit/posix/src/setcanceltype.c @@ -56,7 +56,7 @@ int pthread_setcanceltype( *oldtype = thread_support->cancelability_type; thread_support->cancelability_type = type; - _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( thread_support ); + _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch(_Thread_Executing); /* * _Thread_Enable_dispatch is invoked by above call. -- cgit v1.2.3