From owner-freebsd-mobile Tue Jul 16 10:12:31 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83AF437B400 for ; Tue, 16 Jul 2002 10:12:29 -0700 (PDT) Received: from baboon.icir.org (adsl-67-114-143-202.dsl.sntc01.pacbell.net [67.114.143.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1458D43E31 for ; Tue, 16 Jul 2002 10:12:29 -0700 (PDT) (envelope-from bkarp@baboon.icir.org) Received: from baboon.icir.org (localhost [127.0.0.1]) by baboon.icir.org (8.11.6/8.11.3) with ESMTP id g6GHCSa15277; Tue, 16 Jul 2002 10:12:28 -0700 (PDT) (envelope-from bkarp@baboon.icir.org) Message-Id: <200207161712.g6GHCSa15277@baboon.icir.org> From: Brad Karp To: mobile@freebsd.org Cc: bkarp@icsi.berkeley.edu Subject: SRX87 clarification Date: Tue, 16 Jul 2002 10:12:28 -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I wrote: > /* > * Wait until arp entries can be handled. > */ > while (time_second == 0) > tsleep(&time_second, PZERO + 8, "arpkludge", 10); > > This tsleep() never returns! That may not be totally accurate: a printf() after this while loop is never executed. So there are two possibilities: either a single call to tsleep() never returns, or the while loop never terminates. I suspect that clock interrupts are an essential part of tsleep's timeout mechanism, so perhaps I'm right that it's the former (single call to tsleep() never returns). But either way, the cause would be no clock interrupts are being delivered... -Brad, bkarp@icsi.berkeley.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message