2 ms·
What happens if the client freezes?
by maxerickson 6y ago
What happens if the client freezes?
- yrro 6y agoIt looks like the inhibitior lock stays active. But the design is safe against clients that crash or otherwize exit without uninhibiting. A nice feature request for logind would be an extra optional parameter for the Inhibit call that makes logind require the inhibitor to periodically write to the returned fd to keep the lock from going 'stale'.