From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSvPF-0004lL-8a for qemu-devel@nongnu.org; Mon, 20 Jul 2009 12:08:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSvPA-0004cF-FC for qemu-devel@nongnu.org; Mon, 20 Jul 2009 12:08:00 -0400 Received: from [199.232.76.173] (port=35621 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSvPA-0004bf-7E for qemu-devel@nongnu.org; Mon, 20 Jul 2009 12:07:56 -0400 Received: from mx2.redhat.com ([66.187.237.31]:50541) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSvP9-0002Ay-KH for qemu-devel@nongnu.org; Mon, 20 Jul 2009 12:07:55 -0400 Date: Mon, 20 Jul 2009 13:07:29 -0300 From: Marcelo Tosatti Message-ID: <20090720160729.GA9738@amt.cnet> References: <385029.79398.qm@web30605.mail.mud.yahoo.com> <8A1471B6F57949CE81CD32AA843C1E14@FSCPC> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <8A1471B6F57949CE81CD32AA843C1E14@FSCPC> Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: Threads and win32 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Herbszt Cc: Anthony Liguori , qemu-devel@nongnu.org, Teemu =?iso-8859-1?Q?N=E4tkinniemi?= On Sun, Jul 19, 2009 at 02:11:09PM +0200, Sebastian Herbszt wrote: > Teemu N=E4tkinniemi wrote: >> Hello! >> >> Are there any plans to make qemu-thread.c compatible with win32? At th= e moment compilation errors as >> CLOCK_REALTIME is not available on MinGW and I don't know any way arou= nd this. >> >> Thanks for any solutions! > > I have noticed the problem back in April when the IO thread work got co= mmited, but noone seemed to care [1]. > > Marcelo, can gettimeofday be used instead of clock_gettime? > > [1] http://lists.gnu.org/archive/html/qemu-devel/2009-04/msg01656.html > > - Sebastian Sure, gettimeofday instead of clock_gettime is fine.