stos: sync() after critical writes to disk
rpi: If video buffer allocation hangs, bail out
posix: Use monotonic timers where appropriate

This avoid issues when NTP adjust clock