commit | eb31231e826f51cf20622cc2a2a42e1d4054c306 | [log] [tgz] |
---|---|---|
author | Kun Yi <kunyi731@gmail.com> | Wed Jun 13 09:20:50 2018 -0700 |
committer | Kun Yi <kunyi731@gmail.com> | Tue Jul 24 10:25:29 2018 -0700 |
tree | 1c83e759780ca76f751ee4e4a994056804301885 | |
parent | adc678a1711078cd6e1b946f156de83affa1985b [diff] |
main: Use an sdevent loop to poll POST codes Currently the daemon spawns a thread to read the kernel device file and update DBus value. Use sdevent interface such that a single event loop can process DBus requests as well as IO events. Tested: on hardware platform tested that daemon still reads POST codes and update DBus interface as expected. Change-Id: I998a1fa8d955205faa95ad0002425eb11a4a46eb Signed-off-by: Kun Yi <kunyi731@gmail.com>