diff options
| author | 2012-10-14 16:09:54 -0700 | |
|---|---|---|
| committer | 2012-10-15 15:36:32 -0700 | |
| commit | c604d731730b43231f63040c8db1d58304da0cf3 (patch) | |
| tree | bb9cd6aa56eb3ba88ff27967efc3cc08da150b87 /src/compiler_llvm/method_compiler.cc | |
| parent | 0b0b515934b83385e1cea448113783e0b22849ed (diff) | |
Implement mutex requeueing for cv broadcasts.
Make the mutex guarding a condition variable part of its state. On a
broadcast requeue waiters on the mutex so they are awoken as the mutex
is unlocked (thereby avoiding thundering herds). Explicit futex use
still guarded behind ART_USE_FUTEXES which remains disabled as I'm
unhappy with some of the warts of mutex usage. Uploading so that the API
changes can stabilize.
Change-Id: Iedb601856ccd8bbc3a64da4ba0cee82246e7bcbf
Diffstat (limited to 'src/compiler_llvm/method_compiler.cc')
0 files changed, 0 insertions, 0 deletions