aboutsummaryrefslogtreecommitdiff
path: root/operating-system-challenge/3/README.md
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-20 14:02:53 +0800
committercrupest <crupest@outlook.com>2021-04-20 14:02:53 +0800
commitb5f4d06abcb6464206d7c7d922484ac0980f2b9d (patch)
treefeae69ce530707c749dade0ee4d58942f854195b /operating-system-challenge/3/README.md
parentdef5d0bea2a6054765dc37b30b739f8a68add6af (diff)
downloadlife-b5f4d06abcb6464206d7c7d922484ac0980f2b9d.tar.gz
life-b5f4d06abcb6464206d7c7d922484ac0980f2b9d.tar.bz2
life-b5f4d06abcb6464206d7c7d922484ac0980f2b9d.zip
Add OS challenge 3.
Diffstat (limited to 'operating-system-challenge/3/README.md')
-rw-r--r--operating-system-challenge/3/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/operating-system-challenge/3/README.md b/operating-system-challenge/3/README.md
new file mode 100644
index 0000000..63fa023
--- /dev/null
+++ b/operating-system-challenge/3/README.md
@@ -0,0 +1,5 @@
+![problem](problem.jpg)
+
+Translation: Use a lock to achieve that 3 threads print A, B, C in turn for 10 times. Output is `ABCABC...`
+
+Code is in `main.cpp`.