From 444cda60f596ba1769d407bf3e95f7ec8f1a7c8c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 29 Aug 1995 23:16:28 +0000 Subject: (pipe_send): Use condition_broadcast, not condition_signal. --- libpipe/pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpipe') diff --git a/libpipe/pipe.c b/libpipe/pipe.c index ef1042b6..17f9cda7 100644 --- a/libpipe/pipe.c +++ b/libpipe/pipe.c @@ -162,14 +162,14 @@ pipe_send (struct pipe *pipe, void *source, timestamp (&pipe->write_time); /* And wakeup anyone that might be interested in it. */ - condition_signal (&pipe->pending_reads); + condition_broadcast (&pipe->pending_reads); mutex_unlock (&pipe->lock); mutex_lock (&pipe->lock); /* Get back the lock on PIPE. */ /* Only wakeup selects if there's still data available. */ if (pipe_is_readable (pipe, 0)) { - condition_signal (&pipe->pending_selects); + condition_broadcast (&pipe->pending_selects); /* We leave PIPE locked here, assuming the caller will soon unlock it and allow others access. */ } -- cgit v1.2.3