From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jx2oI-0004en-C0 for qemu-devel@nongnu.org; Fri, 16 May 2008 12:29:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jx2oG-0004eZ-Ph for qemu-devel@nongnu.org; Fri, 16 May 2008 12:29:33 -0400 Received: from [199.232.76.173] (port=37762 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx2oG-0004eW-Jk for qemu-devel@nongnu.org; Fri, 16 May 2008 12:29:32 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:56847) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jx2oF-0003cL-W5 for qemu-devel@nongnu.org; Fri, 16 May 2008 12:29:32 -0400 Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 5072CDCC66D4 for ; Fri, 16 May 2008 18:29:30 +0200 (CEST) Received: from [88.64.11.136] (helo=[192.168.1.198]) by smtp06.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1Jx2oD-0002bZ-00 for qemu-devel@nongnu.org; Fri, 16 May 2008 18:29:29 +0200 Message-ID: <482DB664.9090205@web.de> Date: Fri, 16 May 2008 18:29:24 +0200 From: Jan Kiszka MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigACDEA0D21857A4193667A144" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH] Windows compile errors Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigACDEA0D21857A4193667A144 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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 whe= n >> you write "sleep(1000 + 0);" >> >=20 > I think this may be not a right thing to do anyway. How does the sleep = help=20 > 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 --------------enigACDEA0D21857A4193667A144 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFILbZpniDOoMHTA+kRAqD8AJ9os/UEkRTK/JFXLKJw9mRK6MVI8QCfdwBU izNcKrbXyaXHQLVKachzh7Y= =VHJH -----END PGP SIGNATURE----- --------------enigACDEA0D21857A4193667A144--