Concurrency in C

Parallel and concurrent C programs: POSIX threads, mutexes and condition variables, atomics, thread pools and avoiding races and deadlocks.

CPRG-230 Year 2 3 credits 12 lessons planned ▶ Video lessons coming soon

Offered by HSM University · C Programming

Course content

  1. 1Concurrency and parallelismComing
  2. 2POSIX threadsComing
  3. 3Sharing data between threadsComing
  4. 4MutexesComing
  5. 5Condition variablesComing
  6. 6Atomics and memory orderingComing
  7. 7Thread poolsComing
  8. 8Deadlock and how to avoid itComing
  9. 9Parallel algorithmsComing
  10. 10Debugging threadsComing
  11. 11Performance of concurrent codeComing
  12. 12Capstone: a parallel file processorComing

Requirements

Recommended background. You can start any course at any time.

Description

Parallel and concurrent C programs: POSIX threads, mutexes and condition variables, atomics, thread pools and avoiding races and deadlocks.

Part of the Information Technology stream, typically taken in year 2.