Correct bug in SIwait causing excessive CPU use 25/2325/2
authorE. Scott Daniels <daniels@research.att.com>
Thu, 23 Jan 2020 21:20:12 +0000 (16:20 -0500)
committerE. Scott Daniels <daniels@research.att.com>
Thu, 23 Jan 2020 21:36:12 +0000 (16:36 -0500)
commitbc3de17c3b959fcc6a5ba42f5d3b09402bf89687
tree559c72d04e7605777b024de6ca255bcc336d53c8
parentc1f84f8a4a4e2b90ad9ec18aba2b5365d3e51386
Correct bug in SIwait causing excessive CPU use

The select timer in SIwait was not being reset correctly
and after a few loops the timer was set such that the
thread was using 100% of a CPU.

Also eliminated the build poll list from cache as this
turned out to be slower than the original method.

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ic606f19aaf522ff7c7146a6fc62c76ec9f8de3a9
CHANGES
CMakeLists.txt
src/rmr/si/src/si95/sibldpoll.c
src/rmr/si/src/si95/siconst.h
src/rmr/si/src/si95/sinewses.c
src/rmr/si/src/si95/sistruct.h
src/rmr/si/src/si95/siwait.c