mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-09-27 19:31:50 +00:00
Terminate run when testing TTFF
This commit is contained in:
@@ -529,9 +529,10 @@ void ControlThread::sysv_queue_listener()
|
||||
int msqid;
|
||||
key_t key = 1102;
|
||||
// wait for the queue to be created
|
||||
while((msqid = msgget(key, 0644)) == -1){}
|
||||
|
||||
while(read_queue)
|
||||
{
|
||||
while((msqid = msgget(key, 0644)) == -1){}
|
||||
if (msgrcv(msqid, &msg, msgrcv_size, 1, 0) != -1)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user