dlog_logger: extract main loop iteration 68/287568/4
authorMichal Bloch <m.bloch@samsung.com>
Tue, 31 Jan 2023 13:10:44 +0000 (14:10 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Thu, 2 Feb 2023 16:48:48 +0000 (17:48 +0100)
commit6535e788a6c09f19e7c79850cdc83572f470603c
tree959a067b290d3c217dbfdbbd070d755a09f11f8e
parent96f1ed8c2028ff8ba13cc23b3c7fdbf7e6645204
dlog_logger: extract main loop iteration

Needed to intertwine two server structs in a single loop, which will
be introduced in a further patch. The aim is to encapsulate a reader
in its own server struct to maintain identical behaviour when moved
to a separate thread.

Also makes the code cleaner (small building blocks, etc).

Change-Id: Id60f30df617f30b65a6b121eabfd6ebeed4af6db
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/logger/logger.c