From b41f74438672dd682bc01ae818cb3da654f22c1e Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 13 Feb 2013 10:41:10 +0100 Subject: Updated to latest CVS version of pthreads --- pthreads/README.CV | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pthreads/README.CV') 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(); } } -- cgit v1.2.3