From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] Windows compile errors
Date: Fri, 16 May 2008 18:29:24 +0200 [thread overview]
Message-ID: <482DB664.9090205@web.de> (raw)
In-Reply-To: <g0kb32$gut$1@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 965 bytes --]
consul wrote:
> "Johannes Schindelin" <Johannes.Schindelin@gmx.de> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2008-05-16 16:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 0:04 [Qemu-devel] [PATCH] Windows compile errors consul
2008-05-16 0:15 ` Johannes Schindelin
2008-05-16 4:38 ` [Qemu-devel] " Alex
2008-05-16 9:44 ` Johannes Schindelin
2008-05-16 16:00 ` [Qemu-devel] " consul
2008-05-16 16:16 ` andrzej zaborowski
2008-05-16 16:29 ` Jan Kiszka [this message]
2008-05-17 2:17 ` [Qemu-devel] " Alex
2008-05-17 12:22 ` Jan Kiszka
2008-05-16 10:15 ` Eduardo Felipe
2008-05-16 0:38 ` [Qemu-devel] " Erik de Castro Lopo
2008-05-16 4:23 ` [Qemu-devel] " Alex
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=482DB664.9090205@web.de \
--to=jan.kiszka@web.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.