uhd/mpm/python
Martin Braun 3b9ced8f07 mpm: rpc server: Fix unclaim sequence
Sequence is now:
1. Get _state lock
2. Kill reclaim timeout
3. Run deinit sequence
4. Clear claim token and session ID
5. Release _state lock

Before, we were not locking the mutex, and the timer was killed after
the deinit sequence. If the deinit sequence stalls for whatever reason,
that doesn't have to cause a claimer loss to be reported. UHD will
already have stopped the reclaim loop before unclaim() is called.

In the stall case, it would also have been possible the to acquire a new
claim while the deinit() is still running. This is prevented with the
combination of actually acquiring the mutex (like claim() and reclaim()
do) and moving the token/session ID clearing to the end.
2020-12-21 15:28:24 -08:00
..
pyusrp_periphs Remove proto-RFNoC files 2019-11-26 12:16:25 -08:00
tests sim: Embed MPM into libpyuhd 2020-10-07 15:29:19 -05:00
usrp_mpm mpm: rpc server: Fix unclaim sequence 2020-12-21 15:28:24 -08:00
aurora_bist_test.py
CMakeLists.txt sim: Check for unit test prereqs and disable if unsatisfied 2020-10-28 15:25:48 -05:00
copy_python_module.cmake cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
e320_bist mpm: e320/e310: Expose APIs to drive GPIO source via UHD 2020-01-23 11:37:51 -08:00
n3xx_bist mpm: n3xx: bist: Read mboard and dboard eeprom to determine product 2020-07-31 14:32:54 -05:00
setup.py.in sim: Embed MPM into libpyuhd 2020-10-07 15:29:19 -05:00
socket_test.py
test_lmk.py
usrp_hwd.py sim: Integrate simulator into UHD 2020-10-28 15:25:48 -05:00
usrp_update_fs mpm: Add usrp_update_fs 2018-10-09 17:11:08 -07:00