commit | ceb364c0411dbcb38f2bd94f1d2b54eef3b985c1 | [log] [tgz] |
---|---|---|
author | Yuichiro Hanada <yhanada@google.com> | Fri Sep 27 11:13:22 2013 +0900 |
committer | Ken Wakasa <kwakasa@google.com> | Sun Sep 29 11:41:13 2013 +0900 |
tree | 77f2ddf49d14d458dc9f9e726ec14381204109df | |
parent | ef63947f7d10bcbb3237661ad480b430d4208833 [diff] |
Fix PrioritizedSerialExecutor. It was possible that fetchNextTasks() would be called by multiple threads concurrently. If it happens, some tasks in the task queues might be ignored. cherrypick of Idc81c43c45e382da3850cc55b9a42c281548d2a8 bug: 10957075 Change-Id: I41bf90dda15306ee879350f96a791d940ea31da1