svoid waitUntil(int interval, IF0 condition) { if (condition == null) ret; while (!condition.get()) sleep(interval); }