[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] non-blocking disk IO
From: |
Christian MICHON |
Subject: |
Re: [Qemu-devel] [patch] non-blocking disk IO |
Date: |
Tue, 4 Oct 2005 11:35:59 +0200 |
indeed, this was a quick and dirty hack :)
I just managed to compile pthreadGC2 statically...
pthread.h has to be modified to include extra
PTW32_STATIC_LIB info, like this:
#define PTW32_VERSION 2,6,0,0
#define PTW32_VERSION_STRING "2, 6, 0, 0\0"
#define PTW32_STATIC_LIB 1
I'll test it later today and will report realistic benchmarks
on windows hosts.
On 10/4/05, Elefterios Stamatogiannakis <address@hidden> wrote:
> Thanks for the info.
>
> >> #ifdef WIN32
> >> void usleep(unsigned long usec)
> >> {
> >> Sleep(usec/1000);
> >> }
> >> #endif
> >>
>
> The division "usec/1000" is an expensive operation on any processor.
>
> Maybe it would be better just to use "_sleep(1)" which is analogous to
> usleep(1000) ?
>
> This is what i did to have it compiled and it worked like a charm.
>
> teris.
>
>
>
--
Christian
- [Qemu-devel] [patch] non-blocking disk IO, John Coiner, 2005/10/03
- Re: [Qemu-devel] [patch] non-blocking disk IO, Magnus Damm, 2005/10/03
- Re: [Qemu-devel] [patch] non-blocking disk IO, Elefterios Stamatogiannakis, 2005/10/03
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/03
- Re: [Qemu-devel] [patch] non-blocking disk IO, John Coiner, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Elefterios Stamatogiannakis, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO,
Christian MICHON <=
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Jens Axboe, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, John Coiner, 2005/10/04
- Re: [Qemu-devel] [patch] non-blocking disk IO, Christian MICHON, 2005/10/04
Re: [Qemu-devel] [patch] non-blocking disk IO, Jens Axboe, 2005/10/03