tag | a0e01974dcddbd7fb3b87bbd4602aafe5a6d31ed | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Jun 27 08:09:22 2012 -0700 |
object | 537eaff5de9aace3348436166d4cde7adc1e488e |
Android SDK ADT release 20
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