summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorrpj <rpj>2002-06-03 09:19:57 +0000
committerrpj <rpj>2002-06-03 09:19:57 +0000
commitb2bca276f0fdb43e7ba4aa6baefe835d23820164 (patch)
treead8f093e264f1ac41304401847e8cdbc35609b9d /ChangeLog
parent4f0a0cc0fcbe4d63f8436a82ea186ffbe2b9e1cb (diff)
An attempt to get sem_getvalue working properly.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a2413d..693e04d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2002-06-03 Ross Johnson <rpj@digit.ise.canberra.edu.au>
+
+ * sem_init.c (sem_init): Initialise Win32 semaphores
+ to _POSIX_SEM_VALUE_MAX (which this implementation
+ defines in pthread.h) so that sem_getvalue() can use
+ the trick described in the comments in sem_getvalue().
+ * pthread.h (_POSIX_SEM_VALUE_MAX): Defined.
+ (_POSIX_SEM_NSEMS_MAX): Defined - not used but may be
+ useful for source code portability.
+
+2002-06-03 Rob Fanner <rfanner@stonethree.com>
+
+ * sem_getvalue.c (sem_getvalue): Did not work on NT.
+ Use approach suggested by Johnson M. Hart in his book
+ "Win32 System Programming".
+
2002-02-28 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
* errno.c: Compiler directive was incorrectly including code.