1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-29 02:14:51 +00:00

Exit program if it cannot create SysV message queues

This commit is contained in:
Carles Fernandez 2016-10-13 12:02:55 +02:00
parent 664d6ecfa8
commit 1913f0d4fa

View File

@ -536,6 +536,7 @@ void ControlThread::sysv_queue_listener()
if((msqid = msgget(key, 0644 | IPC_CREAT )) == -1)
{
perror("msgget");
exit(1);
}
while(read_queue && !stop_)