[ksmserver] remove unused suspend/resume startup API
ClosedPublic

Authored by davidedmundson on Oct 8 2018, 10:03 AM.

Details

Summary

ksmserver autostart had a system where processes, such as plasma, could
block the startup phase from moving on.

It is currently entirely unused.

It's very difficult to use properly, plasmashell has to block startup
before ksmserver moves on to phase 1. Racey at best.

I did hack it to work, and it does make a surprising positive
improvement to bootup. Worth exploring the idea properly, but implemented
better.

We should be able to get the same results by
blocking and waiting for the DBus name in the autostart desktop file to
become registered rather than having a ksmserver-specific solution.

Test Plan

Compiles, can still login

Diff Detail

Repository
R120 Plasma Workspace
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3634
Build 3652: arc lint + arc unit
davidedmundson created this revision.Oct 8 2018, 10:03 AM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 8 2018, 10:03 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Oct 8 2018, 10:03 AM
broulik accepted this revision.Oct 8 2018, 12:57 PM
This revision is now accepted and ready to land.Oct 8 2018, 12:57 PM
This revision was automatically updated to reflect the committed changes.