Make the conditional variable example work