CS3210 Parallel computing

Home

❯

Tutorials

❯

CPU programming and performance

❯

Tutorial 0: Processes, threads and synchronization basics (self-study)

Tutorial 0: Processes, threads and synchronization basics (self-study)

CS3210 Site Preview Version
Unpublished Page

Have feedback?Share it anonymously↗

Graph View

  • Part 1: processes vs. threads
  • Multi-process programming on Linux with C++
  • Creating and terminating threads
  • Part 2: process and thread synchronization
  • Process synchronization with semaphores
  • Thread synchronization with mutexes and condition variables
  • Part 3: producer-consumer problem (exercise)
  • Appendix: debugging
  • Viewing processes and threads
  • Debugging C / C++ programs

Backlinks

  • Coordinating access to shared memory

CS3210 · AY2026/27 Semester 2

Built with Quartz