qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 2/3] slirp: define timeout as macro


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2 2/3] slirp: define timeout as macro
Date: Wed, 14 Aug 2013 13:48:32 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Aug 14, 2013 at 11:02:51AM +0800, Liu Ping Fan wrote:
> @@ -47,6 +47,9 @@ static QTAILQ_HEAD(slirp_instances, Slirp) slirp_instances =
>  static struct in_addr dns_addr;
>  static u_int dns_addr_time;
>  
> +#define TIMEOUT_FAST 2
> +#define TIMEOUT_SLOW 499

#define TIMEOUT_FAST 2 /* milliseconds */

Actually I'm not sure what the units are but please document them,
either as a comment or call the macro itself TIMEOUT_FAST_MS.



reply via email to

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