Skip to content

Demo: The Pitch

Demo What it shows
sum/ One sum computed six ways: one thread, eight threads sharing a variable, eight threads with a variable each, and three ways of protecting the shared one. One answer is wrong, and only one version beats a single thread.