Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.15 KB

fullock

Build Status

FULLOCK - Fast User Level LOCK library by Yahoo! JAPAN

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

Doccuments

License

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

Copyright 2015 Yahoo! JAPAN corporation.