summaryrefslogtreecommitdiffstats
path: root/libhb/ports.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/ports.c')
-rw-r--r--libhb/ports.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index 10b598c37..85e009a36 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -657,6 +657,13 @@ void hb_cond_signal( hb_cond_t * c )
#endif
}
+void hb_cond_broadcast( hb_cond_t * c )
+{
+#if USE_PTHREAD
+ pthread_cond_broadcast( &c->cond );
+#endif
+}
+
/************************************************************************
* Network
***********************************************************************/