diff options
author | Lars Amsel <lars.amsel@ni.com> | 2021-02-12 17:16:53 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-02-18 07:26:05 -0600 |
commit | ecbb24505dc2662ecee9da1de95cf8f99dec0c9e (patch) | |
tree | c0cdb26f1d56a485677c07f50ea0471aefc36f79 /mpm/python/usrp_mpm/chips/CMakeLists.txt | |
parent | 91073787b1a292d038bf1bd4d460aa8ddcfc8b16 (diff) | |
download | uhd-ecbb24505dc2662ecee9da1de95cf8f99dec0c9e.tar.gz uhd-ecbb24505dc2662ecee9da1de95cf8f99dec0c9e.tar.bz2 uhd-ecbb24505dc2662ecee9da1de95cf8f99dec0c9e.zip |
MPM: prevent dead lock in timer kill during unclaim
MPM server needs to be reclaimed in regular intervals. This is
monitored by the server using a timer. If the timer hits, the server
unclaims itself assuming the client process died for whatever
reason. In previous versions of `gevent.greenlet` the timer was
killed in a non blocking manner. This changed in version 0.13.0
(see
http://www.gevent.org/api/gevent.greenlet.html#gevent.Greenlet.kill)
which now leads to a dead lock in `timer.kill`. The kill command
is therefore now called explicitly with `block=False`.
Diffstat (limited to 'mpm/python/usrp_mpm/chips/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions