-
Checklist:
- [x] Properly track sender and receiver counts (#707, solves #703)
- [x] add `Receiver::obtain_sender()` and `Sender::obtain_receiver()` methods to enable channel to recover from disco…
-
可否提供原始 benchmark 输出?
例如我的
```
~# go test -bench BenchmarkMPMC -cpu=4
goos: darwin
goarch: arm64
pkg: github.com/doraemonkeys/fast-mpmc
cpu: Apple M1
BenchmarkMPMC/Fast_MPMC_Small-4 …
-
**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
代码如下,业务需求是:rpc提前返回给上游,然后server读执行后续的耗时操作(落盘)。
![image](https://github.com/user-attachments/assets/9c3bd1eb-ddd5-48a4-8401-9b344b6…
-
I have tried to make this example as minimal as I possibly could, but basically this program will hang after a short time on my computer (intel i7 1165g7 + linux 6.6.2 + glibc)
The basic premise is…
-
Do you have numbers for benchmarks between other implementations for your MPMC queue?
-
## Brief feature description
It's hard to get lock-free code right and one can easily introduce races. [Miri](https://github.com/rust-lang/miri) and [Loom](https://crates.io/crates/loom) can help t…
-
Plus:
- Size is not limited (although we almost use it as constrained in size)
- MPMC
Minus:
- Uses mutex
See https://github.com/samanbarghi/MPSCQ and beyond
-
Ubuntu 19.10 64-bit
Core i5-9400, 16GB RAM
Script:
```
LoadPlugin("/home/qyot27/FFMS2_cplugin/libffms2.so.2")
SetFIlterMTMode("DEFAULT_MT_MODE", MT_NICE_FILTER)
SetFIlterMTMode("FFmpegSource2"…
-
I have narrowed down a deadlock issue to the reproducer shown hereafter.
The scenario is as follows: I initialize margo with 2 pools (`"__primary__"` and `"rpc"`), and one execution stream (`"__pri…
-
Rayon introduces a lot of unsafe code to the dependency graph - at about 2000 unsafe expressions according to cargo-geiger, accounting for over 80% of all unsafe code. This undermines the value propos…