Serge Barral

Results 8 issues of Serge Barral

Hello, The failure of the below test puzzles me: since the RMW is atomic, I expect that the store can only be seen either before or after the RMW, so...

Fixes https://github.com/smol-rs/async-channel/issues/45. This is mostly similar to PR https://github.com/smol-rs/async-channel/pull/16 by another author, but its motivation is correctness rather than the purported performance advantage. Differences with PR https://github.com/smol-rs/async-channel/pull/16: - it adds...

A blocked sender loosing interest (i.e. kept alive but no longer polling) leads to a full deadlock: other blocked senders are never re-scheduled when messages are dequeued. This behaviour is...

Hi, I could not fully figure out how waker updates are synchronized. If a waker is already registered (be it `send` or `recv`) and is later updated, the `SEND` (or...

When 64-bit atomics are supported, use 32-bit queue indices. This greatly improves resilience to ABA and has no impact on performance on 64-bit platforms. Fixes: #5041 ## Motivation Currently, a...

A-tokio
M-runtime
R-loom

When I first noticed that the local tokio queue is prone to ABA, I thought that this was the prime reason for the use of `u16` indices. This mitigation seems...

A-tokio
M-runtime

`kanal` hangs for me 99% of the time in all async benchmarks, both with the [official benchmarks](https://github.com/fereidani/rust-channel-benchmarks) and with [Tachyobench](https://github.com/asynchronics/tachyobench/). I was initially suspecting a problem with async notifications, but...

I see that others have made related PRs and suggestions, but in my opinion these came short of fully solving the problem. The issue is that the `AsyncSignal::poll` method takes...