- Columbia University, W4118 Operating Systems I (Junfeng Yang), lecture 8 (threads)
- http://math.hws.edu/javanotes/c12/exercises.html
- https://hpc-tutorials.llnl.gov/posix/
- https://docs.oracle.com/cd/E19455-01/806-5257/
- https://en.wikipedia.org/wiki/Race_condition
- https://thispointer.com/category/multithreading/
- https://en.cppreference.com/w/cpp/thread
- https://docs.python.org/3/library/threading.html
- http://tutorials.jenkov.com/java-concurrency
-
Mutex:
-
Reentrant lock:
-
Barrier:
-
Read/write lock:
-
Comparison: