stuff
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include "park.h"
|
||||
|
||||
// Jurassic Park
|
||||
extern int begin;
|
||||
extern volatile int begin;
|
||||
extern JPARK myPark;
|
||||
extern pthread_mutex_t parkMutex; // mutex park variable access
|
||||
extern pthread_mutex_t fillSeat[NUM_CARS]; // (signal) seat ready to fill
|
||||
@@ -55,4 +55,4 @@ int main(int argc, char *argv[])
|
||||
|
||||
pthread_join(parkTask, NULL);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user