[Webkit-unassigned] [Bug 103006] [EFL][WK2] Missing the routine to check the validation for workqueue
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 22 00:04:01 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103006
--- Comment #4 from Christophe Dumez <christophe.dumez at intel.com> 2012-11-22 00:06:02 PST ---
(From update of attachment 175563)
View in context: https://bugs.webkit.org/attachment.cgi?id=175563&action=review
>> Source/WebKit2/Platform/efl/WorkQueueEfl.cpp:85
>> + break;
>
> The locking scope should be specified. If WorkQueue::invalidate() is called while workItemQueue[i]();, there will be lockup.
>
> {
> MutexLocker locker(m_isValidMutex);
> if (!m_isValid)
> break;
> }
I agree with Byungwoo. Also, wouldn't it make sense to return instead of break is m_isValid is false?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list