File tree 4 files changed +455
-1
lines changed
4 files changed +455
-1
lines changed Original file line number Diff line number Diff line change 14
14
- [ channel] ( channel/ ) : A Linux futex based Go channel implementation.
15
15
- [ redirect] ( redirect/ ) : An I/O multiplexer to monitor stdin redirect using ` timerfd ` and ` epoll ` .
16
16
- [ rcu\_ list] ( rcu_list/ ) : A concurrent linked list utilizing the simplified RCU algorithm.
17
-
17
+ - [ ringbuf \_ shm ] ( ringbuf_shm/ ) : An optimized lock-free ring buffer with shared memory.
18
18
19
19
## License
20
20
Original file line number Diff line number Diff line change
1
+ all :
2
+ $(CC ) -Wall -std=gnu11 -o ringbuffer ringbuffer.c -lpthread -lrt
3
+
4
+ clean :
5
+ rm -f ringbuffer
6
+
7
+ indent :
8
+ clang-format -i ringbuffer.c
Original file line number Diff line number Diff line change
1
+ # ` ringbuf_shm `
2
+
3
+ A lock-free ring buffer with shared memory.
4
+
5
+ ### Properties
6
+
7
+ * Allow variably sized chunks
8
+ * Support contiguous memory chunks
9
+ * Support zero copy operation
You can’t perform that action at this time.
0 commit comments