so the bug with 1.2 is because the futex uses the motonic clock but the
go timer heap was based on realtime futures times,

this was changed in go in 1.3,  now the timers heap is using monotic
future timestamps,

this means that sleep/timers created after a suspend will work as
expected,  sleep/timers that cross a suspend will wait based on monotic
time (which doesn't increase in the suspend) and won't be timely,

discussion of go changes is here:

https://github.com/golang/go/issues/6007

in RTM/with 1.2 we need the workaround,

with 1.3 the ugliest big of the bug is gone, but we need to be careful
if there are sleep/timers that cross a suspend that won't do what we
expect

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1435109

Title:
  Push-client frequently blocking phone suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1435109/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to