Changeset 189010 in webkit
- Timestamp:
- Aug 26, 2015 8:32:12 PM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r188991 r189010 1 2015-08-26 Emanuele Aina <emanuele.aina@collabora.com> 2 3 [ThreadedCompositor] Use WTF::Condition together with WTF::Lock 4 https://bugs.webkit.org/show_bug.cgi?id=148493 5 6 Reviewed by Gyuyoung Kim. 7 8 * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: 9 Replace ThreadCondition::signal() calls with Condition::notifyOne(). 10 * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: 11 Replace ThreadCondition usage with Condition. 12 1 13 2015-08-26 Wenson Hsieh <wenson_hsieh@apple.com> 2 14 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
r188594 r189010 313 313 m_viewportController = std::make_unique<SimpleViewportController>(this); 314 314 315 m_initializeRunLoopCondition. signal();315 m_initializeRunLoopCondition.notifyOne(); 316 316 } 317 317 … … 325 325 m_compositingRunLoop = nullptr; 326 326 m_context = nullptr; 327 m_terminateRunLoopCondition. signal();327 m_terminateRunLoopCondition.notifyOne(); 328 328 } 329 329 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h
r188594 r189010 34 34 #include <WebCore/IntSize.h> 35 35 #include <WebCore/TransformationMatrix.h> 36 #include <wtf/Condition.h> 36 37 #include <wtf/FastMalloc.h> 37 38 #include <wtf/Noncopyable.h> … … 111 112 112 113 ThreadIdentifier m_threadIdentifier; 113 ThreadCondition m_initializeRunLoopCondition;114 Condition m_initializeRunLoopCondition; 114 115 Lock m_initializeRunLoopConditionMutex; 115 ThreadCondition m_terminateRunLoopCondition;116 Condition m_terminateRunLoopCondition; 116 117 Lock m_terminateRunLoopConditionMutex; 117 118 };
Note: See TracChangeset
for help on using the changeset viewer.