Closed Throwaway8 closed 10 months ago
https://github.com/analogdevicesinc/gr-iio/blob/c89d543cd320df852bb76cd376c2dc3f52532dc0/lib/device_source_impl.cc#L111
boost::unique_lock lock(iio_mutex);
Maybe I am wrong and its is being used elsewhere but it seems like this wraps the mutex as a unique_lock type from boost but is never used, maybe it could be removed.
creating the lock automatically locks it
https://github.com/analogdevicesinc/gr-iio/blob/c89d543cd320df852bb76cd376c2dc3f52532dc0/lib/device_source_impl.cc#L111
boost::unique_lock lock(iio_mutex);
Maybe I am wrong and its is being used elsewhere but it seems like this wraps the mutex as a unique_lock type from boost but is never used, maybe it could be removed.