Indeed. I thought I should omit it as this post was primarily about synchronisation primitives, not multithreading in general. Still, I think I should edit it. Thanks!

Written by

Passionate. Pythonist. Perfectionist.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store