summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/setcanceltype.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-21 14:16:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-21 14:16:00 +0000
commit75eaf66aa17ba449dbf6d860c933c1ea6cf89566 (patch)
tree318a4b1226d922040a0969470a281bf218ef05c6 /cpukit/posix/src/setcanceltype.c
parent2009-07-21 Santosh G Vattam <vattam.santosh@gmail.com> (diff)
downloadrtems-75eaf66aa17ba449dbf6d860c933c1ea6cf89566.tar.bz2
2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
Diffstat (limited to 'cpukit/posix/src/setcanceltype.c')
-rw-r--r--cpukit/posix/src/setcanceltype.c2
1 files changed, 1 insertions, 1 deletions
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.