consul wrote: > "Johannes Schindelin" wrote in message > news:alpine.DEB.1.00.0805161043540.30431@racer... >> It is common to say "Sleep((x) * 1000)" to prevent errors, such as when >> you write "sleep(1000 + 0);" >> > > I think this may be not a right thing to do anyway. How does the sleep help > here? does the musicpal_init run in a separate thread? > /* > * Wait a bit to catch menu button during U-Boot start-up > * (to trigger emergency update). > */ > sleep(1); This opens a window after the virtual LCD popped up and before the guest starts to boot so that the user can hit a special key. With the real device, you would hold down that button before powering on the hardware, but that won't work with QEMU... :) Anyway, my bad. I thought Windows understands basic POSIX (at least it was once certified for it ;) ) - no, I didn't thought at all. Is there no official delay wrapper in QEMU? Jan