74aa6e29c9
* new class LockFile * lock->try_lock * rebase master * close if fd_ >=0 * rename try_lock to lock * keep tryring if flock() return EINTR * throw exception on error * keep trying if open() gets interrupted by a signal * close fd_ before throw flock exception * add macro HANDLE_EINTR * HANDLE_EINTR for open & write * add errno in exception * add destructor * don't throw exception,log err and return * Revert "don't throw exception,log err and return" This reverts commit 6e1ba4a1bd82de3d4d07db5238a82184fd2ec9b4. * add lock file name in exception * cleanup exception text * use lock_guard in function put * anonymous namespace * use do-while(0) instead of goto * cleanup read_db_all * cleanup FileLock * remove fchmod 0666 for apks * Revert "remove fchmod 0666 for apks" This reverts commit b389c31762417c4465d73be2453efcf7bc693aee. * log instead of runtime error * keep libs Co-authored-by: deanlee <deanlee3@gmail.com> |
||
---|---|---|
.. | ||
api | ||
kalman | ||
tests | ||
transformations | ||
.gitignore | ||
__init__.py | ||
basedir.py | ||
clock.pyx | ||
cython_hacks.py | ||
dict_helpers.py | ||
ffi_wrapper.py | ||
file_helpers.py | ||
filter_simple.py | ||
gpio.py | ||
lazy_property.py | ||
logging_extra.py | ||
numpy_fast.py | ||
numpy_helpers.py | ||
params.py | ||
params_pxd.pxd | ||
params_pyx.pyx | ||
profiler.py | ||
realtime.py | ||
SConscript | ||
spinner.py | ||
stat_live.py | ||
string_helpers.py | ||
text_window.py | ||
timeout.py | ||
window.py | ||
xattr.py |