Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yahoojapan/fullock
Fast User Level LOCK library
https://github.com/yahoojapan/fullock
antpickax asynchronous fcntl library lock-library mutex pthread rwlock
Last synced: 12 days ago
JSON representation
Fast User Level LOCK library
- Host: GitHub
- URL: https://github.com/yahoojapan/fullock
- Owner: yahoojapan
- License: mit
- Created: 2016-12-07T06:06:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T02:49:01.000Z (2 months ago)
- Last Synced: 2024-10-23T03:17:53.808Z (2 months ago)
- Topics: antpickax, asynchronous, fcntl, library, lock-library, mutex, pthread, rwlock
- Language: C++
- Homepage: https://fullock.antpick.ax/
- Size: 650 KB
- Stars: 26
- Watchers: 9
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
fullock
-------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.### 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
- Github Pages - https://fullock.antpick.ax/
- Github Wiki - https://github.com/yahoojapan/fullock/wiki
- AntPickax - https://antpick.ax/### License
This software is released under the MIT License, see the license file.Copyright(C) 2015 Yahoo Japan Corporation.