mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Kill the SysV queue listener when stopping the control thread
This commit is contained in:
parent
6f2aabe0b6
commit
b1721489e5
@ -538,7 +538,7 @@ void ControlThread::sysv_queue_listener()
|
|||||||
perror("msgget");
|
perror("msgget");
|
||||||
}
|
}
|
||||||
|
|
||||||
while(read_queue)
|
while(read_queue && !stop_)
|
||||||
{
|
{
|
||||||
if (msgrcv(msqid, &msg, msgrcv_size, 1, 0) != -1)
|
if (msgrcv(msqid, &msg, msgrcv_size, 1, 0) != -1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user