quininer / oneshot

M-unsafe lockless asynchronous oneshot channel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M(ulti)-unsafe lockless asynchronous oneshot channel

A lightweight lockless asynchronous oneshot channel.

This crate is similar to tokio's oneshot channel, but it removes the Sender::poll_closed method and merges reference count into inner state (like it).

Tests

  • asan + tsan
  • loom
  • miri

About

M-unsafe lockless asynchronous oneshot channel


Languages

Language:Rust 100.0%