If for some reason a service is started before StartServiceJob runs, we
will end up blocking forever.
Details
Details
- Reviewers
apol - Group Reviewers
Plasma - Commits
- R120:854b64fc130b: [plasma-session] Avoid hypothetical race condition starting a service
Logged in
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 22618 Build 22636: arc lint + arc unit
startkde/plasma-session/startup.cpp | ||
---|---|---|
427 | Could probably use an m_service.isEmpty() check since it will still needlessly do a NameHasOwner call |
startkde/plasma-session/startup.cpp | ||
---|---|---|
427 | All usages of this class (which is just the 1 case to start ksmserver!) have a name passed. Without a name it wouldn't ever finish. |