tag | c311949152d0f1d4c93fce95b77c7b491f032cf6 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Mar 05 08:24:28 2013 -0800 |
object | 537eaff5de9aace3348436166d4cde7adc1e488e |
Android 4.1 CTS release 2
commit | 537eaff5de9aace3348436166d4cde7adc1e488e | [log] [tgz] |
---|---|---|
author | Matthew Xie <mattx@google.com> | Wed Dec 14 22:55:54 2011 -0800 |
committer | Matthew Xie <mattx@google.com> | Wed Dec 14 23:33:29 2011 -0800 |
tree | fc1978bfa1db8677a395992ff81d84f8e2243087 | |
parent | 34e4a715490c404a711ba1f0ccef0f88567b62fa [diff] |
In condvar wait functions, set the holder back before restoring count Before this fix, there is a racing condition. The previous owner thread can get into the mutex without proper locking by passing the lock owner check in mutex_lock function. bug 5699382 Change-Id: Ib81330e2f3669e5f72b101f3da7abdb15d3ac993