mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Fixed a deadlock issue in the FPGA-based tracking loops
This commit is contained in:
parent
d0b1705474
commit
3f014b4a64
@ -1530,11 +1530,12 @@ int dll_pll_veml_tracking_fpga::general_work(int noutput_items __attribute__((un
|
|||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(d_mutex);
|
boost::mutex::scoped_lock lock(d_mutex);
|
||||||
d_worker_is_done = false;
|
d_worker_is_done = false;
|
||||||
|
l.unlock();
|
||||||
while (!d_worker_is_done)
|
while (!d_worker_is_done)
|
||||||
{
|
{
|
||||||
d_m_condition.wait(lock);
|
d_m_condition.wait(lock);
|
||||||
}
|
}
|
||||||
|
l.lock();
|
||||||
// Signal alignment (skip samples until the incoming signal is aligned with local replica)
|
// Signal alignment (skip samples until the incoming signal is aligned with local replica)
|
||||||
int64_t acq_trk_diff_samples;
|
int64_t acq_trk_diff_samples;
|
||||||
double acq_trk_diff_seconds;
|
double acq_trk_diff_seconds;
|
||||||
|
Loading…
Reference in New Issue
Block a user