Changeset 130622 in webkit
- Timestamp:
- Oct 8, 2012, 1:06:50 AM (14 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/efl/MainThreadEfl.cpp (modified) (2 diffs)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/RunLoop.h (modified) (1 diff)
-
WebCore/platform/efl/RunLoopEfl.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r130619 r130622 1 2012-10-08 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r130619. 4 http://trac.webkit.org/changeset/130619 5 https://bugs.webkit.org/show_bug.cgi?id=98634 6 7 Causes many crashes on the EFL bots. (Requested by rakuco on 8 #webkit). 9 10 * wtf/efl/MainThreadEfl.cpp: 11 (WTF::pipeObject): 12 (WTF): 13 (WTF::monitorDispatchFunctions): 14 (WTF::initializeMainThreadPlatform): 15 (WTF::scheduleDispatchFunctionsOnMainThread): 16 1 17 2012-10-08 Byungwoo Lee <bw80.lee@samsung.com> 2 18 -
trunk/Source/WTF/wtf/efl/MainThreadEfl.cpp
r130619 r130622 42 42 namespace WTF { 43 43 44 static void monitorDispatchFunctions(void*) 44 static OwnPtr<Ecore_Pipe>& pipeObject() 45 { 46 DEFINE_STATIC_LOCAL(OwnPtr<Ecore_Pipe>, pipeObject, ()); 47 return pipeObject; 48 } 49 50 static void monitorDispatchFunctions(void*, void*, unsigned int) 45 51 { 46 52 dispatchFunctionsFromMainThread(); … … 49 55 void initializeMainThreadPlatform() 50 56 { 57 pipeObject() = adoptPtr(ecore_pipe_add(monitorDispatchFunctions, 0)); 51 58 } 52 59 53 60 void scheduleDispatchFunctionsOnMainThread() 54 61 { 55 ecore_ main_loop_thread_safe_call_async(monitorDispatchFunctions, 0);62 ecore_pipe_write(pipeObject().get(), "", 0); 56 63 } 57 64 -
trunk/Source/WebCore/ChangeLog
r130619 r130622 1 2012-10-08 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r130619. 4 http://trac.webkit.org/changeset/130619 5 https://bugs.webkit.org/show_bug.cgi?id=98634 6 7 Causes many crashes on the EFL bots. (Requested by rakuco on 8 #webkit). 9 10 * platform/RunLoop.h: 11 (RunLoop): 12 * platform/efl/RunLoopEfl.cpp: 13 (WebCore::RunLoop::RunLoop): 14 (WebCore::RunLoop::wakeUpEvent): 15 (WebCore::RunLoop::wakeUp): 16 1 17 2012-10-08 Byungwoo Lee <bw80.lee@samsung.com> 2 18 -
trunk/Source/WebCore/platform/RunLoop.h
r130619 r130622 168 168 #elif PLATFORM(EFL) 169 169 bool m_initEfl; 170 static void wakeUpEvent(void* data); 170 OwnPtr<Ecore_Pipe> m_pipe; 171 static void wakeUpEvent(void* data, void*, unsigned int); 171 172 #endif 172 173 }; -
trunk/Source/WebCore/platform/efl/RunLoopEfl.cpp
r130619 r130622 35 35 #include <wtf/PassOwnPtr.h> 36 36 37 static const int ecorePipeMessageSize = 1; 38 static const char wakupEcorePipeMessage[] = "W"; 39 37 40 namespace WebCore { 38 41 … … 60 63 } 61 64 65 m_pipe = adoptPtr(ecore_pipe_add(wakeUpEvent, this)); 62 66 m_initEfl = true; 63 67 … … 92 96 } 93 97 94 void RunLoop::wakeUpEvent(void* data )98 void RunLoop::wakeUpEvent(void* data, void*, unsigned int) 95 99 { 96 100 static_cast<RunLoop*>(data)->performWork(); … … 99 103 void RunLoop::wakeUp() 100 104 { 101 ecore_ main_loop_thread_safe_call_async(wakeUpEvent, this);105 ecore_pipe_write(m_pipe.get(), wakupEcorePipeMessage, ecorePipeMessageSize); 102 106 } 103 107
Note:
See TracChangeset
for help on using the changeset viewer.