semaphores
Rob Fanner
rfanner@stonethree.com
Thu May 30 09:38:00 GMT 2002
I've found the problem. It looks like the
pthreads-win32 coders already know about it, as
it is commented in the set_getvalue.c source file:
/* Note:
* The windows NT documentation says that the increment must be
* greater than zero, but it is set to zero here. If this works,
* the function will return true. If not, we can't do it this way
* so flag it as not implemented.
*/
It has to do with the differences between the Win98
and Win NT implementation of the function
ReleaseSemaphore(). For the record, I ran the same piece of
code on 98 and NT platforms, and the sem_getvalue() function
does *not* work on NT (*as was suspected).
Thanks again everyone
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourceware.org/pipermail/pthreads-win32/attachments/20020530/f5c0d4a0/attachment.htm>
More information about the Pthreads-win32
mailing list