summaryrefslogtreecommitdiff
path: root/sys/lib/python/idlelib/macosxSupport.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-09-07 23:36:04 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-09-07 23:36:04 +0200
commit1848f4e946c6a5d625c23f9c6a3ad7480816585a (patch)
tree46503781c5622942d07ef5000ca529aaea93687f /sys/lib/python/idlelib/macosxSupport.py
parentbfd8098b8de4c9dfbd5def087b92b09dfc97b41c (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