Skip to content

jrobsonchase/awaitdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet another WaitGroup implementation.

None of the existing crates fit my needs exactly, so here's one more that (hopefully) will.

Highlights:

  • Generalizes "tasks" to Refs. More of a change in nomenclature than anything else. It's not always a group of tasks you're waiting on - it could be that you're waiting on a gaggle of structs to all be dropped.
  • Refs and Waiters are entirely disjoint. You don't need a Waiter to create a new Ref.
  • Everything is cloneable and behaves as one would expect - cloned Refs will all block every cloned Waiter, which can be awaited concurrently.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tokio-core by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published