From owner-freebsd-current Thu Jul 26 8:44:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 7B3F237B403; Thu, 26 Jul 2001 08:44:51 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f6QFioF65413; Thu, 26 Jul 2001 09:44:50 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f6QFinw03993; Thu, 26 Jul 2001 09:44:49 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200107261544.f6QFinw03993@harmony.village.org> To: David Malone Subject: Re: Strange select(2) misbehaviour when linked with -pthread Cc: Maxim Sobolev , current@FreeBSD.ORG, Julian Elischer , stable@FreeBSD.ORG In-reply-to: Your message of "Thu, 26 Jul 2001 11:59:31 BST." <20010726115931.A93134@walton.maths.tcd.ie> References: <20010726115931.A93134@walton.maths.tcd.ie> <3B5EA985.458B39B7@FreeBSD.org> Date: Thu, 26 Jul 2001 09:44:49 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010726115931.A93134@walton.maths.tcd.ie> David Malone writes: : Or don't work as the case may be ;-) Posix doesn't actually require : select to be able to deal with large wait times (I think 31 days was : the figure I found in the SUSv2 spec). Have a look at: 31 days, interestingly enough, is very close to the amount of time it takes for a 32 bit counter to wrap in milliseconds. Oh, wait, that's 49 days and a little bit. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message