diff options
author | Yusuke Sato <yusuke-sato@apn.alpine.co.jp> | 2018-05-29 19:24:49 +0900 |
---|---|---|
committer | Christoph Lipka <clipka@users.noreply.github.com> | 2018-05-29 12:24:49 +0200 |
commit | 4a32519592972263475a36b4c01c26eea55ffcf4 (patch) | |
tree | 5683374881d0c779b9b54b839807c4346dc2b270 /src/shared | |
parent | 33a4300e3e4a25e6f41bcc18b2a03453a4bf3664 (diff) | |
download | DLT-daemon-4a32519592972263475a36b4c01c26eea55ffcf4.tar.gz |
libdlt: Avoid busy loop in error case of mq_receive() (#59)
To avoid busy loop due to error of mq_receive() which is called
in sub thread, 100ms sleep is added for the error case.
Error log message for mq_receive() is also corrected to have errno.
Signed-off-by: Yusuke Sato <yusuke-sato@apn.alpine.co.jp>
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions