From ea560b7031756aad711d7c64c84d2fe449f0935f Mon Sep 17 00:00:00 2001 From: Diego Herrera Date: Thu, 7 Oct 2021 22:06:07 -0600 Subject: [PATCH] Updated path of semaphores --- code/src/constants.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/src/constants.h b/code/src/constants.h index 3b56c62..48ea946 100644 --- a/code/src/constants.h +++ b/code/src/constants.h @@ -8,9 +8,9 @@ namespace WaitingPhilosopher { - #define SEMKEYPATH "/tmp/dinPh" /* Path used on ftok for semget key */ + #define SEMKEYPATH "/tmp" /* Path used on ftok for semget key */ #define SHMKEYPATH SEMKEYPATH /* Path used on ftok for shmget key */ - #define OUTPUTPATH "/tmp/" /* Path used on ftok for semget key */ + #define OUTPUTPATH "/tmp" /* Path used on ftok for semget key */ #define NUMSEMS 1 #define SIZEOFSHMSEG 2048