Final cleanup commit
This commit is contained in:
parent
c31b3b632c
commit
6c064e55e8
@ -10,7 +10,8 @@
|
||||
#define EATING 2 /*philosopher is eating*/
|
||||
|
||||
|
||||
typedef struct PhilosopherData {
|
||||
typedef struct PhilosopherData
|
||||
{
|
||||
int eatingCount;
|
||||
int position;
|
||||
int state;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
rm DiningPhilosophers.out
|
||||
gcc DiningPhilosophers.c -o DiningPhilosophers.out 2> crashCompile.log
|
||||
gcc DiningPhilosophers.c -o DiningPhilosophers.out > /dev/null 2>&1
|
||||
./DiningPhilosophers.out 5
|
||||
|
Loading…
Reference in New Issue
Block a user