[Mono-bugs] [Bug 58161][Maj] Changed - 0.91: make install fails with gcc-3.4
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 27 May 2004 04:04:34 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by dick@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58161
--- shadow/58161 2004-05-26 09:45:55.000000000 -0400
+++ shadow/58161.tmp.24406 2004-05-27 04:04:34.000000000 -0400
@@ -55,6 +55,19 @@
Am CCing Dick and Martin.
------- Additional Comments From lupus@ximian.com 2004-05-26 09:45 -------
We use sem_wait() also in the io-layer (through the MONO_SEM_WAIT
macro), so we'll probably need similar fixes there, too.
+
+------- Additional Comments From dick@ximian.com 2004-05-27 04:04 -------
+If sem_wait() can fail like that someone ought to submit a
+documentation bug to the glibc people:
+
+"- Function: int sem_wait (sem_t * SEM)
+ `sem_wait' suspends the calling thread until the semaphore pointed
+ to by SEM has non-zero count. It then atomically decreases the
+ semaphore count.
+
+ `sem_wait' is a cancellation point. It always returns 0.
+"
+