Skip to content

A minimal implementation of one-shot channels written in rust

Notifications You must be signed in to change notification settings

Harshit933/channels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One-shot channels written in rust

Q) What are channels?

Channels are a mean to transport a message across threads safely such that no unambiguos activity takes place.

Q) What are one-shot channel?

One-shot channels are channels only but are meant to be used only once for sending/receiving.

This is done for learning purpose only.

Usage

Channels::new();
channels.split();

The channels are purely thread safe because of the power of different memory ordering that rust provides by default.

About

A minimal implementation of one-shot channels written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages