Skip to content

LankyCyril/twpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-phase locking with lockfiles

  • Initial release
  • Currently supports Linux/POSIX only
  • Documentation coming soon

Relies on modifying the number of open file descriptors for a lockfile.

Currently implements the 2PL lock compatibility table:

Lock type read-lock write-lock
read-lock Y N
write-lock N N

Read locks are called "concurrent," and write locks are called "exclusive."

The API, the naming, and the implementation are all subjects to change until the first stable release (i.e. until version 1.0.0, or earlier if explicitly stated).

About

Two-phase locking via lockfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages