aboutsummaryrefslogtreecommitdiff
path: root/works/life/operating-system-challenge/3/README.md
blob: 63fa0239c645bc9da3b6fd751653f4a57bb55daf (plain)
1
2
3
4
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`.