Hello all,
Seem to be experiencing an unusual bug with lock() and unlock(). The example code can be found at
http://pastebin.com/m1dd34f80
The problem seen is first time around the loop it works perfectly, the usrp source is created connect then destroyed. The second time around the loop however the follow exception occurs if the lock() and unlock() calls are uncommented:
http://pastebin.com/d7c33a9da
The cause appears to be the usrp not being properly released between calls in the top block even though it is being del'd (is del even suppose to delete it properly?). I was wondering if anyone has any suggestions about this particular bug :)
Thanks,
Kieran