aboutsummaryrefslogtreecommitdiff
path: root/pthreads/README.CV
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-02-13 11:03:57 +0100
committermarha <marha@users.sourceforge.net>2013-02-13 11:03:57 +0100
commit8fa17b13062c1e2acca542cc7a2ccb09aca874e8 (patch)
tree158a6239b0fdf2abf63fb7365b4cd4886c15f5b1 /pthreads/README.CV
parent4a165ef2f762a4ce9155f2a3626692326bda616d (diff)
parentb41f74438672dd682bc01ae818cb3da654f22c1e (diff)
downloadvcxsrv-8fa17b13062c1e2acca542cc7a2ccb09aca874e8.tar.gz
vcxsrv-8fa17b13062c1e2acca542cc7a2ccb09aca874e8.tar.bz2
vcxsrv-8fa17b13062c1e2acca542cc7a2ccb09aca874e8.zip
Merge remote-tracking branch 'origin/released'
* origin/released: Updated to latest CVS version of pthreads Conflicts: pthreads/Makefile
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();
}
}