Computer Science › Section G · Programming languages › Topic G.6
Programming concurrent activities
A web server answers thousands of visitors at once, and a game moves dozens of characters in the same instant. Programs like these are written as several activities running side by side, which brings real speed and responsiveness, and a new family of bugs.
In this topic
- Doing several things at once
- Concurrency and parallelism
- Threads
- Threads in Python
- Worked example: waiting together
- Shared data and race conditions
- Worked example: a lost update
- Mutual exclusion and locks
- Monitors: data that guards itself
- Common mistakes to avoid
- Key takeaways
This topic is part of Wuanberri Pro. Checking your access…
