From owner-freebsd-current Sun Mar 26 22:25:24 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1AF1437BB53 for ; Sun, 26 Mar 2000 22:25:18 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA52405; Sun, 26 Mar 2000 23:25:05 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA90617; Sun, 26 Mar 2000 23:24:50 -0700 (MST) Message-Id: <200003270624.XAA90617@harmony.village.org> To: Matthew Dillon Subject: Re: Is there spinlocks/semaphores available for drivers? Cc: Daniel Eischen , nms@otdel-1.org, freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Sun, 26 Mar 2000 22:07:57 PST." <200003270607.WAA36169@apollo.backplane.com> References: <200003270607.WAA36169@apollo.backplane.com> <200003262108.QAA12802@pcnet1.pcnet.com> Date: Sun, 26 Mar 2000 23:24:50 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200003270607.WAA36169@apollo.backplane.com> Matthew Dillon writes: : complex. For example, using fixed-length FIFOs rather then linked lists. : The writer manipulates the write index variable, the reader manipulates : the read index variable. No locking is required between reader and : writer. What about wrap around? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message