Skip to content

A Partitioned Read-Write Lock Library compatible with POSIX and libuv Threads

License

Notifications You must be signed in to change notification settings

jonahharris/prwlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Partitioned Read-Write Lock

In many systems, it's common to use a partitioned lock to reduce contention. Rather than a single hash table, for example, we could split the hash table across a number of partitions and perform a hash to determine the partition of a key, then use. In this way, rather than wrapping a hash table with a single read-write lock, we can split up the hash table by a number of partitions and lock only segments of the hash table at once.

About

A Partitioned Read-Write Lock Library compatible with POSIX and libuv Threads

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published