sp_cond_signal renamed to sp_cond_post

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
diff --git a/src/core/sock.c b/src/core/sock.c
index ea094a8..56b49ab 100644
--- a/src/core/sock.c
+++ b/src/core/sock.c
@@ -325,7 +325,7 @@
                 rc = sockbase->vfptr->in (sockbase, (struct sp_pipe*) oparg);
                 errnum_assert (rc >= 0, -rc);
                 if (rc > 0)
-                    sp_cond_signal (&sockbase->cond);
+                    sp_cond_post (&sockbase->cond);
             }
 
             /*  Handle outbound pipes. */
@@ -333,7 +333,7 @@
                 rc = sockbase->vfptr->out (sockbase, (struct sp_pipe*) oparg);
                 errnum_assert (rc >= 0, -rc);
                 if (rc > 0)
-                    sp_cond_signal (&sockbase->cond);
+                    sp_cond_post (&sockbase->cond);
             }
 
             /*  If timers were modified do nothing and move straight to
diff --git a/src/utils/cond.c b/src/utils/cond.c
index 764f02e..9e5e2dc 100644
--- a/src/utils/cond.c
+++ b/src/utils/cond.c
@@ -52,7 +52,7 @@
     return 0;
 }
 
-void sp_cond_signal (struct sp_cond *self)
+void sp_cond_post (struct sp_cond *self)
 {
     WakeConditionVariable (&self->cond);
 }
@@ -96,7 +96,7 @@
     return 0;
 }
 
-void sp_cond_signal (struct sp_cond *self)
+void sp_cond_post (struct sp_cond *self)
 {
     int rc;
 
diff --git a/src/utils/cond.h b/src/utils/cond.h
index fd54daa..4d783a5 100644
--- a/src/utils/cond.h
+++ b/src/utils/cond.h
@@ -50,7 +50,7 @@
 
 int sp_cond_wait (struct sp_cond *self,
     struct sp_mutex *mutex, int timeout);
-void sp_cond_signal (struct sp_cond *self);
+void sp_cond_post (struct sp_cond *self);
 
 #endif
 
diff --git a/src/utils/cp.c b/src/utils/cp.c
index f408af2..97597cf 100644
--- a/src/utils/cp.c
+++ b/src/utils/cp.c
@@ -122,7 +122,7 @@
     }
     
     if (empty)
-        sp_cond_signal (&self->cond);
+        sp_cond_post (&self->cond);
 
     sp_mutex_unlock (&self->sync);
 }