summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/wtf/MainThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/wtf/MainThread.h')
-rw-r--r--Source/JavaScriptCore/wtf/MainThread.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/JavaScriptCore/wtf/MainThread.h b/Source/JavaScriptCore/wtf/MainThread.h
index c153d1eba..ff76a5fd3 100644
--- a/Source/JavaScriptCore/wtf/MainThread.h
+++ b/Source/JavaScriptCore/wtf/MainThread.h
@@ -40,21 +40,21 @@ typedef uint32_t ThreadIdentifier;
typedef void MainThreadFunction(void*);
// Must be called from the main thread.
-void initializeMainThread();
+WTF_EXPORT_PRIVATE void initializeMainThread();
-void callOnMainThread(MainThreadFunction*, void* context);
-void callOnMainThreadAndWait(MainThreadFunction*, void* context);
-void cancelCallOnMainThread(MainThreadFunction*, void* context);
+WTF_EXPORT_PRIVATE void callOnMainThread(MainThreadFunction*, void* context);
+WTF_EXPORT_PRIVATE void callOnMainThreadAndWait(MainThreadFunction*, void* context);
+WTF_EXPORT_PRIVATE void cancelCallOnMainThread(MainThreadFunction*, void* context);
template<typename> class Function;
-void callOnMainThread(const Function<void ()>&);
+WTF_EXPORT_PRIVATE void callOnMainThread(const Function<void ()>&);
-void setMainThreadCallbacksPaused(bool paused);
+WTF_EXPORT_PRIVATE void setMainThreadCallbacksPaused(bool paused);
-bool isMainThread();
+WTF_EXPORT_PRIVATE bool isMainThread();
#if ENABLE(PARALLEL_GC)
void registerGCThread();
-bool isMainThreadOrGCThread();
+WTF_EXPORT_PRIVATE bool isMainThreadOrGCThread();
#elif PLATFORM(MAC)
bool isMainThreadOrGCThread();
#else
@@ -70,7 +70,7 @@ void dispatchFunctionsFromMainThread();
// This version of initializeMainThread sets up the main thread as corresponding
// to the process's main thread, and not necessarily the thread that calls this
// function. It should only be used as a legacy aid for Mac WebKit.
-void initializeMainThreadToProcessMainThread();
+WTF_EXPORT_PRIVATE void initializeMainThreadToProcessMainThread();
void initializeMainThreadToProcessMainThreadPlatform();
#endif