Elegant Circular Queue FIFO
Jun 20th, 2007 by antics
I have just posted a write up on an elegant mutexless circular buffer without concurrency issues. A colleague shared the theory with me and I wrote it up. Its implemented in C without many dependencies since it is intended for use in a kernel module so I didn’t want to loose any clever tricks when I left userspace.

Full description and code are posted. See the above link.
very interesting.
i’m adding in RSS Reader