diff --git a/readme.md b/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..c2657c6782767417420fbc080375d5f75c7c711b --- /dev/null +++ b/readme.md @@ -0,0 +1,10 @@ +# C - Thread Synchronization and Mutual Exclusion + + +## Description +Introduces thread mutual exclusion via the `Producer and Consumer` problem. + +Essentially, some threads want to produce values. Some threads want to consume. + +Producers should not produce past a given limit, and consumers should not consume when there is nothing left to take. +Also, only one thread should try to update the shared dataset at a time.