aboutsummaryrefslogtreecommitdiff
path: root/pthreads/README.CV
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-02-13 10:41:10 +0100
committermarha <marha@users.sourceforge.net>2013-02-13 10:41:10 +0100
commitb41f74438672dd682bc01ae818cb3da654f22c1e (patch)
tree07674ef1368a5427a75080528d8cee74234f6b28 /pthreads/README.CV
parentaaf21968deb85b635cb6aa6544df233ea5981346 (diff)
downloadvcxsrv-b41f74438672dd682bc01ae818cb3da654f22c1e.tar.gz
vcxsrv-b41f74438672dd682bc01ae818cb3da654f22c1e.tar.bz2
vcxsrv-b41f74438672dd682bc01ae818cb3da654f22c1e.zip
Updated to latest CVS version of pthreads
Diffstat (limited to 'pthreads/README.CV')
-rw-r--r--pthreads/README.CV12
1 files changed, 6 insertions, 6 deletions
diff --git a/pthreads/README.CV b/pthreads/README.CV
index 698728b95..735196c30 100644
--- a/pthreads/README.CV
+++ b/pthreads/README.CV
@@ -686,15 +686,15 @@ Sleep( 1 ); // @AT
* a timeout
*
* Note:
- * ptw32_sem_timedwait is a cancelation point,
+ * ptw32_sem_timedwait is a cancellation point,
* hence providing the
- * mechanism for making pthread_cond_wait a cancelation
+ * mechanism for making pthread_cond_wait a cancellation
* point. We use the cleanup mechanism to ensure we
* re-lock the mutex and decrement the waiters count
* if we are canceled.
*/
if (ptw32_sem_timedwait (&(cv->sema), abstime) == -1) {
- result = errno;
+ result = PTW32_GET_ERRNO();
}
}
@@ -1272,7 +1272,7 @@ ptw32_cond_wait_cleanup(void * args)
*/
if (sem_post(&(cv->semBlockLock)) != 0)
{(sem_post(&(cv->semBlockLock))
- *resultPtr = errno;
+ *resultPtr = PTW32_GET_ERRNO();
return;
}
}
@@ -1286,7 +1286,7 @@ ptw32_cond_wait_cleanup(void * args)
*/
if (sem_post(&(cv->semBlockQueue)) != 0)
{(sem_post(&(cv->semBlockQueue))
- *resultPtr = errno;
+ *resultPtr = PTW32_GET_ERRNO();
return;
}
}
@@ -1385,7 +1385,7 @@ ptw32_cond_timedwait (pthread_cond_t * cond,
*/
if (ptw32_sem_timedwait (&(cv->semBlockQueue), abstime) != 0)
{(ptw32_sem_timedwait
- result = errno;
+ result = PTW32_GET_ERRNO();
}
}