Techcable

Results 133 comments of Techcable

> As I'm reading through it, I wonder if there might be a less code-intensive and more readable approach. How about putting some kind of backchannel into the Flush message...

Idea for a simpler implementation: Use a two-way channel or queue dedicated to flushing and acknowledgment of flushing. **EDIT**: A zero-capacity channel may be what we want. According to `crossbeam-channel`:...

> Probably a proper way to do flush ack using only stdlib is to use `CondVar` paired with a `Mutex`. The `u64` acts as a counter. Before flush the sender...