fairwaves / UHD-Fairwaves

Fairwaves version of the UHD drivers, tweaked to support Fairwaves UmTRX.
http://umtrx.org
24 stars 21 forks source link

thread safety considerations for lms6002 class #11

Closed guruofquality closed 8 years ago

guruofquality commented 9 years ago

Goal: ensure that lms6002 is thread safe to be in a multi-threaded use case. Example: osmotrx applies settings while internal status monitor thread is running and also applying changes. Issues are protecting registers during read/modify/write calls. Also, avoiding problems while longer routines like tuning are in operation - as tuning requires readback for vco band selection.