Changeset 112340 in webkit
- Timestamp:
- Mar 27, 2012 5:21:13 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112336 r112340 1 2012-03-27 Anders Carlsson <andersca@apple.com> 2 3 Fix race condition when initializing the scrolling thread 4 https://bugs.webkit.org/show_bug.cgi?id=82398 5 <rdar://problem/11002166> 6 7 Reviewed by Sam Weinig. 8 9 Lock m_initializeRunLoopConditionMutex when assigning m_threadIdentifier since we're 10 asserting that it's not null in the scrolling thread. 11 12 * page/scrolling/ScrollingThread.cpp: 13 (WebCore::ScrollingThread::createThreadIfNeeded): 14 1 15 2012-03-27 Luke Macpherson <macpherson@chromium.org> 2 16 -
trunk/Source/WebCore/page/scrolling/ScrollingThread.cpp
r108925 r112340 67 67 return; 68 68 69 m_threadIdentifier = createThread(threadCallback, this, "WebCore: Scrolling");70 71 69 // Wait for the thread to initialize the run loop. 72 70 { 73 71 MutexLocker locker(m_initializeRunLoopConditionMutex); 72 73 m_threadIdentifier = createThread(threadCallback, this, "WebCore: Scrolling"); 74 74 75 #if PLATFORM(MAC) 75 76 while (!m_threadRunLoop)
Note: See TracChangeset
for help on using the changeset viewer.