diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-04-26 14:27:03 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-04-26 14:57:22 +0200 |
commit | 7248912d106ec2a6b63042453e072bcf326120dd (patch) | |
tree | ddf0c3e9187d2828fb7555db822fdb1ff9873cd0 | |
parent | docs: drop invalid links (diff) | |
download | systemd-7248912d106ec2a6b63042453e072bcf326120dd.tar.xz systemd-7248912d106ec2a6b63042453e072bcf326120dd.zip |
docs: PrepareForSuspend() is not a valid signal name
-rw-r--r-- | docs/INHIBITOR_LOCKS.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/INHIBITOR_LOCKS.md b/docs/INHIBITOR_LOCKS.md index f11762e7b8..7b98d4bac0 100644 --- a/docs/INHIBITOR_LOCKS.md +++ b/docs/INHIBITOR_LOCKS.md @@ -101,7 +101,7 @@ The signal with _False_ is usually the signal on which applications request a ne Note that watching PrepareForShutdown(true)/PrepareForSleep(true) without taking a delay lock is racy and should not be done, as any code that an application might want to execute on this signal might not actually finish before the suspend/shutdown cycle is executed. -_Again_: if you watch PrepareForSuspend(true), then you really should have taken a delay lock first. PrepareForShutdown(false) may be subscribed to by applications which want to be notified about system resume events. +_Again_: if you watch PrepareForShutdown(true)/PrepareForSleep(true), then you really should have taken a delay lock first. PrepareForSleep(false) may be subscribed to by applications which want to be notified about system resume events. Note that this will only be sent out for suspend/resume cycles done via logind, i.e. generally only for high-level user-induced suspend cycles, and not automatic, low-level kernel induced ones which might exist on certain devices with more aggressive power management. |