Remove unneeded pthread_cond_broadcast
PATCH 1/1 Remove unneeded pthread_cond_broadcast
Previous patchset neglected to remove a now unneeded call.
Signed-off-by Andy Grover <[email protected]>
--- usr/bs.c | 2 -- 1 file changed, 2 deletions(-)
usr/bs.c +0 -2
@@ -448,8 +448,6 @@ void bs_thread_close(struct bs_thread_info *info) {int i; -pthread_cond_broadcast (&info->pending_cond); -for (i =0 ; i < info->nr_worker_threads && info->worker_thread[i]; i++) {pthread_cancel (info->worker_thread[i]);pthread_join (info->worker_thread[i],NULL );
Signature · 1 line
1.9.0
Quoted 6 lines · On Wed, 30 Apr 2014 10:00:21 -0700 Andy Grover <[email protected]> wrote:
Previous patchset neglected to remove a now unneeded call.
Signed-off-by Andy Grover <[email protected]>--- usr/bs.c | 2 -- 1 file changed, 2 deletions(-)
Nice. Yeah, we don't need anymore. Applied, thanks.