diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-09-07 23:36:04 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-09-07 23:36:04 +0200 |
commit | 1848f4e946c6a5d625c23f9c6a3ad7480816585a (patch) | |
tree | 46503781c5622942d07ef5000ca529aaea93687f /sys/lib/python/idlelib/macosxSupport.py | |
parent | bfd8098b8de4c9dfbd5def087b92b09dfc97b41c (diff) |
kernel: tsemacquire() use MACHP(0)->ticks for time delta
we might wake up on a different cpu after the sleep so
delta from machX->ticks - machY->ticks can become negative
giving spurious timeouts. to avoid this always use the
same mach 0 tick counter for the delta.
Diffstat (limited to 'sys/lib/python/idlelib/macosxSupport.py')
0 files changed, 0 insertions, 0 deletions