From 54f87c05639d9c4c62ef1a6c36eccefc42af732b Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Fri, 9 Oct 2020 07:22:33 -0400 Subject: [PATCH] Create readme --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..c2657c6 --- /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. -- GitLab