Skip to content
Commit 8ae5adae authored by Wentong Wu's avatar Wentong Wu Committed by Anas Nashif
Browse files

logging: wake up log process thread only when log message happen



Periodically wake up log process thread consume more power if system
already in sleep or deep sleep state. With the help of added logging
timer and semaphore, log process thread is woken up only when there
is logging message.

Fixes: #19982.

Signed-off-by: default avatarWentong Wu <wentong.wu@intel.com>
parent 95910259
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment