pika
pika copied to clipboard
Rewrite channels to expose a sender interface
Currently the various channel
implementations in pika expose a low level API, similar to lockfree queues, where one can get an item through bool channel(T*)
. A more interesting API would return senders to signal that an item is available from the channel.
For transitioning we could:
- [x] Remove the current implementations and add a senderized version separately (#1209)
- ~Keep the current implenmentations until we have a senderized version~
- ~Keep the non-sender version indefinitely~