![Willem Melching](/assets/img/avatar_default.png)
* 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>
5 lines
169 B
Python
5 lines
169 B
Python
Import('envCython', 'common')
|
|
|
|
envCython.Program('clock.so', 'clock.pyx')
|
|
envCython.Program('params_pyx.so', 'params_pyx.pyx', LIBS=envCython['LIBS'] + [common, 'zmq'])
|