[webkit-reviews] review requested: [Bug 28019] Single-threaded storage/database solution : [Attachment 39734] fix scheduleImmediateTask() problem

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 17 16:20:10 PDT 2009


Yong Li <yong.li at torchmobile.com> has asked  for review:
Bug 28019: Single-threaded storage/database solution
https://bugs.webkit.org/show_bug.cgi?id=28019

Attachment 39734: fix scheduleImmediateTask() problem
https://bugs.webkit.org/attachment.cgi?id=39734&action=review

------- Additional Comments from Yong Li <yong.li at torchmobile.com>
Add an argument waitUntilFinish to scheduleImmediateTask()

When it's true, multi-threaded solution calls waitSync...., and single-threaded
solution just performs the task. The caller is responsible to protect deadlock
problems.

when it's false, just put the task to the head of the queue.


More information about the webkit-reviews mailing list