diff options
-rw-r--r-- | src/cmdline.c | 4 |
1 files changed, 0 insertions, 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()); |