-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphilutku2.c
24 lines (18 loc) · 930 Bytes
/
philutku2.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
_____ _ _
| __ \(_) (_)
| | | |_ _ __ _ _ __ __ _
| | | | | '_ \| | '_ \ / _` |
| |__| | | | | | | | | | (_| |
|_____/|_|_| |_|_|_| |_|\__, | _
| __ \| | (_) | __/ | | |
| |__) | |__ _| | ___ |___/___ _ __ | |__ ___ _ __ ___
| ___/| '_ \| | |/ _ \/ __|/ _ \| '_ \| '_ \ / _ \ '__/ __|
| | | | | | | | (_) \__ \ (_) | |_) | | | | __/ | \__ \
|_| |_| |_|_|_|\___/|___/\___/| .__/|_| |_|\___|_| |___/
| |
|_|
Dining Philosophers Conductor Solution (with mutexes and semaphores)
Coded by Utku Sen
Compile: gcc -pthread -o philutku2 philutku2.c
*/