diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-21 14:16:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-21 14:16:00 +0000 |
commit | 75eaf66aa17ba449dbf6d860c933c1ea6cf89566 (patch) | |
tree | 318a4b1226d922040a0969470a281bf218ef05c6 /cpukit/posix/src/setcanceltype.c | |
parent | 2009-07-21 Santosh G Vattam <vattam.santosh@gmail.com> (diff) | |
download | rtems-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.c | 2 |
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. |