qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] Windows compile errors


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH] Windows compile errors
Date: Fri, 16 May 2008 18:29:24 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

consul wrote:
> "Johannes Schindelin" <address@hidden> wrote in message
> news:address@hidden
>> 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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]