mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Do not stop the receiver if SysV message queues can't be created
This commit is contained in:
parent
eaf80314d7
commit
98bea8292c
@ -53,6 +53,7 @@ SPDX-FileCopyrightText: 2011-2020 Carles Fernandez-Prades <carles.fernandez@cttc
|
|||||||
`None`. This allows packaging in some distributions that pass an arbitrary
|
`None`. This allows packaging in some distributions that pass an arbitrary
|
||||||
name as the build type (e.g., Gentoo) to avoid unexpected compiler flags. The
|
name as the build type (e.g., Gentoo) to avoid unexpected compiler flags. The
|
||||||
building option `ENABLE_PACKAGING` must set to `ON` when packaging.
|
building option `ENABLE_PACKAGING` must set to `ON` when packaging.
|
||||||
|
- Do not stop the receiver if SysV message queues cannot be created.
|
||||||
|
|
||||||
### Improvements in Reliability:
|
### Improvements in Reliability:
|
||||||
|
|
||||||
|
@ -1106,8 +1106,8 @@ void ControlThread::sysv_queue_listener()
|
|||||||
|
|
||||||
if ((msqid_ = msgget(key, 0644 | IPC_CREAT)) == -1)
|
if ((msqid_ = msgget(key, 0644 | IPC_CREAT)) == -1)
|
||||||
{
|
{
|
||||||
perror("GNSS-SDR cannot create SysV message queues");
|
std::cerr << "GNSS-SDR cannot create SysV message queues" << std::endl;
|
||||||
exit(1);
|
read_queue = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (read_queue && !stop_)
|
while (read_queue && !stop_)
|
||||||
|
Loading…
Reference in New Issue
Block a user