Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cyfdecyf/spinlock

Open more actions menu

Repository files navigation

Various spinlock implementations from this article Spinlocks and Read-Write Locks by Lockless Inc.

I made some modification to make each implementation self contained and provide a benchmark script. The code relies on GCC's built-in functions for atomic memory access.

Note: Scalability is achieved by avoiding sharing and contention, not by scalable locks.

About

Different implementations of spinlock.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.