From 7ca85ee05a9e673f4bd4f9a410f313a99034f803 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 16 Apr 2015 01:33:02 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cmdline.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cmdline.c b/src/cmdline.c index 6c70f33..80d7c4f 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -298,11 +298,7 @@ main(int argc, char *argv[]) t(zero_semaphore(Q)); t(read_shared_memory(read_message)); spawn(argv[2], read_message); - t(release_semaphore(W, 1, 1)); t(acquire_semaphore(S, 1, 1)); - t(zero_semaphore(S)); - t(release_semaphore(S, 1, 1)); - t(acquire_semaphore(W, 1, 1)); } else if ((argc == 3) && !strcmp(argv[1], "broadcast")) { t(get_keys()); -- cgit v1.2.3-70-g09d2