svoid threadQuickdrawTest_oneShot { new Flag flag; new Thread { run { flag.raise(); } }.start(); flag.waitUntilUp(); }