Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTEDU-0001fv-SN for qemu-devel@nongnu.org; Tue, 21 Jul 2009 08:13:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTEDQ-0001ds-5C for qemu-devel@nongnu.org; Tue, 21 Jul 2009 08:13:08 -0400 Received: from [199.232.76.173] (port=54856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTEDQ-0001dm-2U for qemu-devel@nongnu.org; Tue, 21 Jul 2009 08:13:04 -0400 Received: from mail.gmx.net ([213.165.64.20]:34409) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MTEDP-0003Uy-AP for qemu-devel@nongnu.org; Tue, 21 Jul 2009 08:13:03 -0400 Message-ID: From: "Sebastian Herbszt" References: <385029.79398.qm@web30605.mail.mud.yahoo.com> <8A1471B6F57949CE81CD32AA843C1E14@FSCPC> <20090720160729.GA9738@amt.cnet> <20090720235246.GA15189@amt.cnet> In-Reply-To: <20090720235246.GA15189@amt.cnet> Date: Tue, 21 Jul 2009 14:11:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Threads and win32 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti Cc: Anthony Liguori , qemu-devel@nongnu.org, =?iso-8859-1?Q?Teemu_N=E4tkinniemi?= Marcelo Tosatti wrote: > On Mon, Jul 20, 2009 at 09:09:47PM +0200, Sebastian Herbszt wrote: >> [PATCH] qemu-thread: replace clock_gettime() by gettimeofday() >> >> Replace clock_gettime() which is not available on MinGW by gettimeofday(). > > Sweet. Have you tested it? Slightly on linux. > Do the signal warnings make any sense?? CC i386-softmmu/vl.o vl.c: In function `qemu_cpu_kick': vl.c:3842: error: `SIGUSR1' undeclared (first use in this function) vl.c:3842: error: (Each undeclared identifier is reported only once vl.c:3842: error: for each function it appears in.) vl.c: In function `block_io_signals': vl.c:3859: error: storage size of 'sigact' isn't known vl.c:3861: warning: implicit declaration of function `sigemptyset' vl.c:3862: warning: implicit declaration of function `sigaddset' vl.c:3862: error: `SIGUSR2' undeclared (first use in this function) vl.c:3863: error: `SIGIO' undeclared (first use in this function) vl.c:3864: error: `SIGALRM' undeclared (first use in this function) vl.c:3865: warning: implicit declaration of function `pthread_sigmask' vl.c:3868: error: `SIGUSR1' undeclared (first use in this function) vl.c:3873: warning: implicit declaration of function `sigaction' vl.c:3859: warning: unused variable `sigact' vl.c: In function `unblock_io_signals': vl.c:3861: warning: redundant redeclaration of 'sigemptyset' vl.c:3861: warning: previous implicit declaration of 'sigemptyset' was here vl.c:3862: warning: redundant redeclaration of 'sigaddset' vl.c:3862: warning: previous implicit declaration of 'sigaddset' was here vl.c:3881: error: `SIGUSR2' undeclared (first use in this function) vl.c:3882: error: `SIGIO' undeclared (first use in this function) vl.c:3883: error: `SIGALRM' undeclared (first use in this function) vl.c:3865: warning: redundant redeclaration of 'pthread_sigmask' vl.c:3865: warning: previous implicit declaration of 'pthread_sigmask' was here vl.c:3887: error: `SIGUSR1' undeclared (first use in this function) vl.c: In function `qemu_signal_lock': vl.c:3896: error: `SIGUSR1' undeclared (first use in this function) vl.c: In function `pause_all_vcpus': vl.c:3937: error: `SIGUSR1' undeclared (first use in this function) vl.c: In function `resume_all_vcpus': vl.c:3959: error: `SIGUSR1' undeclared (first use in this function) make[1]: *** [vl.o] Error 1 make: *** [subdir-i386-softmmu] Error 2 - Sebastian