Skip to content

A Rust implementation of the C# low-level SpinWait class used for high-performance thread synchronisation

License

Notifications You must be signed in to change notification settings

deanchalk/spinwait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spinwait

A Rust crate providing a lightweight, adaptive spinning mechanism inspired by C#’s SpinWait type. Designed for high-performance, short-duration waits in concurrent applications, this implementation minimizes context-switching overhead by spinning efficiently before yielding to the scheduler.

About

A Rust implementation of the C# low-level SpinWait class used for high-performance thread synchronisation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages