Re: [Qemu-devel] [PATCH 5/6] main-loop: replace WaitForMultipleObjects with g_poll

2012-04-05 Thread Paolo Bonzini
> On 5 April 2012 09:12, Paolo Bonzini wrote: > > (Also, the lowest common denominator for Linux would be 2.12, not > > 2.0. > > ...this doesn't seem to be what configure checks for? AFAICT it > just wants something providing gthread-2.0. Yes, that's correct. Our checks are way too strict. Pao

Re: [Qemu-devel] [PATCH 5/6] main-loop: replace WaitForMultipleObjects with g_poll

2012-04-05 Thread Peter Maydell
On 5 April 2012 09:12, Paolo Bonzini wrote: > (Also, the lowest common denominator for Linux would be 2.12, not 2.0. ...this doesn't seem to be what configure checks for? AFAICT it just wants something providing gthread-2.0. -- PMM

Re: [Qemu-devel] [PATCH 5/6] main-loop: replace WaitForMultipleObjects with g_poll

2012-04-05 Thread Paolo Bonzini
- Messaggio originale - > Da: "Blue Swirl" > A: "Paolo Bonzini" > Cc: qemu-devel@nongnu.org, s...@weilnetz.de > Inviato: Mercoledì, 4 aprile 2012 22:44:12 > Oggetto: Re: [Qemu-devel] [PATCH 5/6] main-loop: replace > WaitForMultipleObjects with g_

Re: [Qemu-devel] [PATCH 5/6] main-loop: replace WaitForMultipleObjects with g_poll

2012-04-04 Thread Peter Maydell
On 4 April 2012 21:44, Blue Swirl wrote: > On Tue, Mar 20, 2012 at 09:49, Paolo Bonzini wrote: >> On w32, glib implements g_poll using WaitForMultipleObjects >> or MsgWaitForMultipleObjects.  This means that we can simplify >> our code by switching to g_poll, and at the same time prepare for >> a

Re: [Qemu-devel] [PATCH 5/6] main-loop: replace WaitForMultipleObjects with g_poll

2012-04-04 Thread Blue Swirl
On Tue, Mar 20, 2012 at 09:49, Paolo Bonzini wrote: > On w32, glib implements g_poll using WaitForMultipleObjects > or MsgWaitForMultipleObjects.  This means that we can simplify > our code by switching to g_poll, and at the same time prepare for > adding back glib sources. Unfortunately g_poll d

[Qemu-devel] [PATCH 5/6] main-loop: replace WaitForMultipleObjects with g_poll

2012-03-20 Thread Paolo Bonzini
On w32, glib implements g_poll using WaitForMultipleObjects or MsgWaitForMultipleObjects. This means that we can simplify our code by switching to g_poll, and at the same time prepare for adding back glib sources. Signed-off-by: Paolo Bonzini --- main-loop.c | 40 +