[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
Wed Nov 21 22:28:43 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103006





--- Comment #2 from Byungwoo Lee <bw80.lee at samsung.com>  2012-11-21 22:30:45 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
> +            MutexLocker locker(m_isValidMutex);
> +            if (!m_isValid)
> +                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;
}

-- 
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