Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2000 23:24:50 -0700
From:      Warner Losh <imp@village.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Daniel Eischen <eischen@vigrid.com>, nms@otdel-1.org, freebsd-current@FreeBSD.ORG
Subject:   Re: Is there spinlocks/semaphores available for drivers? 
Message-ID:  <200003270624.XAA90617@harmony.village.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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003270624.XAA90617>