return OS.ReceiveNextEvent(0, null, OS.kEventDurationForever, false, null) == OS.noErr;
int rc= OS.ReceiveNextEvent(0, null, OS.kEventDurationForever, false, null); if (rc != OS.noErr) System.out.println("oha: " + rc); return rc == OS.noErr;
public boolean sleep () {	checkDevice ();	return OS.ReceiveNextEvent(0, null, OS.kEventDurationForever, false, null) == OS.noErr;}