Skip to content

Commit 155098a

Browse files
committed
Add multiple-producer/multiple-consumer queue
1 parent 9a042a6 commit 155098a

File tree

3 files changed

+424
-0
lines changed

3 files changed

+424
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [mbus](mbus/): A concurrent message bus.
1111
- [spmc](spmc/): A concurrent single-producer/multiple-consumer queue.
1212
- [map-reduce](map-reduce/): word counting using MapReduce.
13+
- [mpmc](mpmc/): A multiple-producer/multiple-consumer queue.
1314

1415
## License
1516

mpmc/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
all:
2+
$(CC) -Wall -std=c11 -o mpmc mpmc.c -lpthread
3+
4+
indent:
5+
clang-format -i mpmc.c
6+
7+
clean:
8+
rm -f mpmc

0 commit comments

Comments
 (0)