diff options
author | Ermal <eri@pfsense.org> | 2013-09-04 08:48:23 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-09-04 08:48:23 +0000 |
commit | 8171a2c2de98c8f505e99ddfb4859058cdb32cba (patch) | |
tree | 7e48ccaf7a971ccc1ab8fb2f7a2e9511d510eaaa /usr/local/sbin | |
parent | f33dcc5c79c54af7daf91a81cfdd7f489e8cb67c (diff) | |
download | pfsense-8171a2c2de98c8f505e99ddfb4859058cdb32cba.zip pfsense-8171a2c2de98c8f505e99ddfb4859058cdb32cba.tar.gz |
Introduce two new functions to be used on locking.
- try_lock: used for trying to get an EXCLUSIVE lock for a specified timeout by default of 5
- unlock_force: which just releases any locks held on a specified lock
Use this new functions on rc.openvpn to avoid spurious stale locks around.
Diffstat (limited to 'usr/local/sbin')
0 files changed, 0 insertions, 0 deletions