Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

fullock

C/C++ AntPickax CI GitHub license GitHub forks GitHub stars GitHub issues debian packages RPM packages

FULLOCK - Fast User Level LOCK library

Overview

FULLOCK is a lock library provided by Yahoo! JAPAN, that is very fast and runs on user level.
This library provides two lock type.
One is shared reader/writer lock like that provided by fcntl, another is shared mutex which is specified by name.

These provide the functionality of more than pthread_rwlock and pthread_mutex, and is faster than fcntl.

FULLOCK

Feature

  • Support multi-threading
  • Support multi-processing
  • Automatically unlock when the process is terminated while holding the lock
  • Automatically unlock when the thread is terminated while holding the lock
  • Automatically unlock when the file handle is closed while holding the lock
  • Not dead lock by same thread locking
  • Provide programming interface like posix mutex and rwlock

Documents

Packages

License

This software is released under the MIT License, see the license file.

AntPickax

fullock is one of AntPickax products.

Copyright(C) 2015 Yahoo Japan Corporation.