Skip to content

Commit d2b870e

Browse files
committed
feat: golang lockfree disruptor
1 parent 64777ad commit d2b870e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

golang_lockfree_disruptor.md

+4
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ func (q *Producer[T]) write(v T, dur time.Duration) error {
345345
}
346346
```
347347

348+
😁 关于 lockfree write 写失败 spin 引发的 cpu 过高问题,已经给作者提价 pull request (pr),但作者还没给合并,说要考虑用户的选择再考虑下。我表示不理解。
349+
350+
[https://github.com/bruceshao/lockfree/pull/15](https://github.com/bruceshao/lockfree/pull/15)
351+
348352
### consumer 消费者
349353

350354
#### 初始化 consumer

0 commit comments

Comments
 (0)