summaryrefslogtreecommitdiff
path: root/pthread_setcancelstate.c
diff options
context:
space:
mode:
authorrpj <rpj>2005-03-16 05:17:22 +0000
committerrpj <rpj>2005-03-16 05:17:22 +0000
commite2e9fa5538bc4f00dec031cb98f832159e2bb33c (patch)
tree0c595d6e33511957c013b5bee56f3980caee290d /pthread_setcancelstate.c
parent5f30460d31b6d01c6020e6819c900d9c9309361f (diff)
''
Diffstat (limited to 'pthread_setcancelstate.c')
-rw-r--r--pthread_setcancelstate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pthread_setcancelstate.c b/pthread_setcancelstate.c
index 12fdda4..002cfe5 100644
--- a/pthread_setcancelstate.c
+++ b/pthread_setcancelstate.c
@@ -103,10 +103,8 @@ pthread_setcancelstate (int state, int *oldstate)
/*
* Check if there is a pending asynchronous cancel
- * only if we don't have alertable async cancel.
*/
if (state == PTHREAD_CANCEL_ENABLE
- && (ptw32_features & PTW32_ALERTABLE_ASYNC_CANCEL) == 0
&& sp->cancelType == PTHREAD_CANCEL_ASYNCHRONOUS
&& WaitForSingleObject (sp->cancelEvent, 0) == WAIT_OBJECT_0)
{