Note: this builds on a (as of writing) non-existent "threading" section, which is part of a different commit.