File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,9 @@ In short, triple buffering is what you're after in scenarios where a shared
72
72
memory location is updated frequently by a single writer, read by a single
73
73
reader who only wants the latest version, and you can spare some RAM.
74
74
75
- - If you need multiple producers and consumers, look somewhere else
75
+ - If you need multiple producers, look somewhere else
76
+ - If you need multiple consumers, you may be interested in my related "SPMC
77
+ buffer" work, which basically extends triple buffering to multiple consumers
76
78
- If you can't tolerate the RAM overhead or want to update the data in place,
77
79
try a Mutex instead (or possibly an RWLock)
78
80
- If the shared value is updated very rarely (e.g. every second), try an RCU
You can’t perform that action at this time.
0 commit comments