2010-03-26 Mark Probst <mark.probst@gmail.com>
authorMark Probst <mark.probst@gmail.com>
Fri, 26 Mar 2010 15:50:36 +0000 (15:50 -0000)
committerMark Probst <mark.probst@gmail.com>
Fri, 26 Mar 2010 15:50:36 +0000 (15:50 -0000)
* mono-semaphore.h (MONO_SEM_POST): Fix on Darwin.

svn path=/trunk/mono/; revision=154285

mono/utils/ChangeLog
mono/utils/mono-semaphore.h

index ade8d6f53f327350da1ea4b71aa44c8d75a898f2..535de88ccd09b49e24e5f3cdb233a3e41fbb4887 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-26  Mark Probst  <mark.probst@gmail.com>
+
+       * mono-semaphore.h (MONO_SEM_POST): Fix on Darwin.
+
 2010-03-26  Zoltan Varga  <vargaz@gmail.com>
 
        * mono-proclib.c mono-semaphore.c: Apply some openbsd changes from openbsd
index 04748a813b82e265f6d53ef09d192f35de02146c..8e6dbbcd402d13bc2a60da3850301b882bab6c27 100644 (file)
@@ -27,7 +27,7 @@
 typedef semaphore_t MonoSemType;
 #    define MONO_SEM_INIT(addr,value) semaphore_create (current_task (), (addr), SYNC_POLICY_FIFO, (value))
 #    define MONO_SEM_WAIT(sem) mono_sem_wait ((sem))
-#    define MONO_SEM_POST(sem) mono_sem_post (*(sem))
+#    define MONO_SEM_POST(sem) mono_sem_post ((sem))
 #    define MONO_SEM_DESTROY(sem) semaphore_destroy (current_task (), *(sem))
 #  else
 typedef sem_t MonoSemType;