Skip to content

Commit

Permalink
Updated path of semaphores
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Herrera committed Oct 8, 2021
1 parent 70efd1b commit ea560b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/src/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea560b7

Please sign in to comment.