From owner-freebsd-current@FreeBSD.ORG Mon Aug 26 18:25:21 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A4C8BB86; Mon, 26 Aug 2013 18:25:21 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [IPv6:2607:f8b0:400c:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 51474261E; Mon, 26 Aug 2013 18:25:21 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 15so2411178vea.15 for ; Mon, 26 Aug 2013 11:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=kw0fAQDHeGcBHzo+slZpDRRJqDWAF+ZawVITMTzkBHc=; b=DXMsOZYB/hMJo4CkLmCqCklGM4T9ujBy+h/o0SbR0N564dvZ/4FVtPg1Jj2tsjdj6v G7v2Sn+LPTYOr3//GvbcwqBx7qu8+xKXlJSD+pjiOD54ZX1AHAbKaezhF/5JCAA4Bwxb UkI9UmThosDpyuhCooSGkVJzxyAAq7COJQmT/z2uZJ/Zvv+G5T3OuDqTiUz0ZvVG6hrW YYz/WiAIjGZmNKX56kOBKuRtIMzdFBPILobqBbfnsIipMYoQksNJZBIBFmOEcIoZw5x/ w2DomppymrwavIe1abimtAx2pfjZzvEN9zsKlo9yXU+uPcFhJxOEgGnWjBusxjvuIBqX U7OQ== MIME-Version: 1.0 X-Received: by 10.58.196.132 with SMTP id im4mr1493489vec.28.1377541520516; Mon, 26 Aug 2013 11:25:20 -0700 (PDT) Sender: davide.italiano@gmail.com Received: by 10.220.65.132 with HTTP; Mon, 26 Aug 2013 11:25:20 -0700 (PDT) In-Reply-To: References: <201308221408.08203.jhb@freebsd.org> <201308230945.28701.jhb@freebsd.org> Date: Mon, 26 Aug 2013 11:25:20 -0700 X-Google-Sender-Auth: GnwaRmfj3bRpfhZYJO532p2zh2I Message-ID: Subject: Re: Question about socket timeouts From: Davide Italiano To: Vitja Makarov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 18:25:21 -0000 On Fri, Aug 23, 2013 at 7:04 AM, Vitja Makarov wrote: > 2013/8/23 Davide Italiano : > > I think that for socket's timeouts it's ok to have a HZ-precision. It > would be much more important to implement high-precision timeouts for > select() and friends, if it's not done yet (sorry I'm running 9.1). > JFYI, select()/usleep()/etc... are all fine grained right now in HEAD. > > -- > vitja. -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare