Block on RMR read to avoid 100% CPU usage on wait 89/3589/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 5 May 2020 22:31:54 +0000 (18:31 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 6 May 2020 01:12:30 +0000 (21:12 -0400)
commit666e8319bd0e618576be79a14208d7eaf0de99f2
treeb44b3d16f399cf540d598d5dec4e3de7b63bd9fd
parentaa29841d6c673640fb395663be0e07f470682e2f
Block on RMR read to avoid 100% CPU usage on wait

Extend the receive-all helper method to accept a timeout parameter and
pass to rmr_torcv_msg so RMR waits for a notification that a message
has arrived, instead of spinning the processor while waiting.

Issue-ID: RIC-354
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I9149dcdad946f8bac1294eed28260b4c38d1056a
.gitignore
docs/release-notes.rst
ricxappframe/rmr/helpers.py
ricxappframe/xapp_frame.py
ricxappframe/xapp_rmr.py
setup.py
tests/test_rmr.py