4 ms·
Spurious wakeups enters the chat.
by dwattttt 1y ago
Spurious wakeups enters the chat.
- quietbritishjim 1y agoAny reasonable sleep API will handle spurious wake ups under the hood and not return control.
- Joker_vD 1y agoIt will also ignore those pesky signals and restart the sleep :) On a more serious note, any reasonable sleep API should either report all wake ups, no matter the reason, or none except for the timeout expiration itself. Any additional "reasonable" filtering is a loaded footgun because different API users have different ideas of what is "reasonable" for them.
- deleted 1y ago[deleted]