~asac/powerd/fix-racy-screen-on-and-no-mutex-refactor

Viewing all changes in revision 20.

  • Committer: Tarmac
  • Author(s): Seth Forshee
  • Date: 2013-05-24 15:11:25 UTC
  • mfrom: (10.3.16 split-state-changes)
  • Revision ID: tarmac-20130524151125-1ybdel33ahxls8h2
Changes to emit signals for power change events
* Move system state processing to all be done on mainloop via a state machine
* Emit dbus signals for state changes
* Wait for a timeout period before completing state changes
* Protect access to system state requests lists using a mutex
* Add wake lock interfaces to libsuspend
* Use wake locks to block suspend while processing incoming state change requests
* Bug fixes and clean-up.

Approved by Matthew Fischer, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: