chiark / gitweb /
logind: process session/inhibitor fds at higher priority
authorLennart Poettering <lennart@poettering.net>
Wed, 4 May 2016 17:01:56 +0000 (19:01 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
commit451a2b7a44f3624b15bbf960e338791e0b0a4210
treeb9d8eb5ed7fb911a016d3e084e9d6c2dca2e92a1
parent0fa22a24e08416f3ba2278b9780990e67faf6e30
logind: process session/inhibitor fds at higher priority

Let's make sure we process session and inhibitor pipe fds (that signal
sessions/inhibtors going away) at a higher priority
than new bus calls that might create new sessions or inhibitors. This helps
ensuring that the number of open sessions stays minimal.
src/login/logind-inhibit.c
src/login/logind-session.c
src/login/logind.c