aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2010-12-13 18:34:16 -0800
committerCarl Shapiro <cshapiro@google.com>2010-12-14 17:07:25 -0800
commit16a832c08f9ad2d74657b3fed5810fb1aeec3adc (patch)
tree334d5776463b5c63d88943fef1c96ded3b178d2f /vm/compiler/codegen/arm/CodegenDriver.c
parent7663bdf7c1aaf679f67cc9de431f36f0701fed58 (diff)
Periodically reset the thin lock polling interval.
In a worst case scenario it was possible for a thread waiting to inflate a lock to get stuck polling once a second. With this change the waiting thread will reset its delay back to the minimum delay after reaching a 1 second delay. This change also replaces a call to the obsolete usleep function with a call to nanosleep. Change-Id: I25bc3e3907ec070250e1d7821b7770a8d1ba9627
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions