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