Changeset 36056 in webkit for trunk/JavaScriptCore/wtf/MainThread.h
- Timestamp:
- Sep 3, 2008, 9:37:00 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/MainThread.h
r31730 r36056 33 33 namespace WTF { 34 34 35 class Mutex; 36 35 37 typedef void MainThreadFunction(void*); 36 38 37 39 void callOnMainThread(MainThreadFunction*, void* context); 40 void callOnMainThreadAndWait(MainThreadFunction*, void* context); 41 38 42 void setMainThreadCallbacksPaused(bool paused); 39 43 40 #if PLATFORM(WIN) 44 // Must be called from the main thread (Darwin is an exception to this rule). 41 45 void initializeMainThread(); 42 #endif43 46 44 47 // These functions are internal to the callOnMainThread implementation. 45 48 void dispatchFunctionsFromMainThread(); 46 49 void scheduleDispatchFunctionsOnMainThread(); 50 Mutex& mainThreadFunctionQueueMutex(); 47 51 48 52 } // namespace WTF
Note:
See TracChangeset
for help on using the changeset viewer.