-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Wentong Wu <wentong.wu@intel.com>
- Loading branch information
Showing
1 changed file
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters