From owner-freebsd-arch Wed Sep 19 22:25:53 2001 Delivered-To: freebsd-arch@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id C19CC37B41D for ; Wed, 19 Sep 2001 22:25:51 -0700 (PDT) Received: from mindspring.com (dialup-209.244.105.62.Dial1.SanJose1.Level3.net [209.244.105.62]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id WAA28490; Wed, 19 Sep 2001 22:25:50 -0700 (PDT) Message-ID: <3BA97E0C.7FF390BE@mindspring.com> Date: Wed, 19 Sep 2001 22:26:36 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: mike varga Cc: freebsd-arch@freebsd.org Subject: Re: kevent hangs References: <00dd01c14164$c54b3560$4a10a8c0@stcla1.sfba.home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > mike varga wrote: > > I opted to break the changelist > and eventlist into 2 seperate calls. > > When I make the first call to add the > changelist, the call to kevent hangs. > > Does anyone know what is wrong? Does it hang forever, or does it hang fdor 2 seconds (the timeout you specified)? In general, splitting the calls is probably not a good idea, since it doubles your system call overhead for work you have to do anyway. You might want to try it against /dev/null; it may be that your device driver writes end up being synchronous for the driver you are doing, and they may need to be reworked. The closest drivers to your hardware aren't network cards, they are actually sound card drivers. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message