qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: Threads and win32


From: Sebastian Herbszt
Subject: [Qemu-devel] Re: Threads and win32
Date: Tue, 21 Jul 2009 14:11:10 +0200

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





reply via email to

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