forked from yahoojapan/fullock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
29 lines (21 loc) · 1.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
fullock
-------
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
- https://github.com/yahoojapan/fullock/wiki
### License
This software is released under the MIT License, see the LICENSE file.
Copyright 2015 Yahoo! JAPAN corporation.