summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/Threading.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wtf/Threading.cpp')
-rw-r--r--JavaScriptCore/wtf/Threading.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/JavaScriptCore/wtf/Threading.cpp b/JavaScriptCore/wtf/Threading.cpp
index 35ba017..74c47f4 100644
--- a/JavaScriptCore/wtf/Threading.cpp
+++ b/JavaScriptCore/wtf/Threading.cpp
@@ -28,10 +28,6 @@
#include <string.h>
-#if PLATFORM(ANDROID)
-#include <memory>
-#endif
-
namespace WTF {
struct NewThreadContext : FastAllocBase {
@@ -79,7 +75,7 @@ ThreadIdentifier createThread(ThreadFunction entryPoint, void* data, const char*
NewThreadContext* context = new NewThreadContext(entryPoint, data, name);
- // Prevent the thread body from executing until we've established the thread identifier
+ // Prevent the thread body from executing until we've established the thread identifier.
MutexLocker locker(context->creationMutex);
return createThreadInternal(threadEntryPoint, context, name);