summaryrefslogtreecommitdiffstats
path: root/webkit/pending/wtf/ThreadingWin.cpp
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-02 20:07:40 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-02 20:07:40 +0000
commit54bb8a4d82757e827f5cd06d3e2b29c79da61455 (patch)
treef042c8969a9253c0a0a33dde1f6ca05b202517d0 /webkit/pending/wtf/ThreadingWin.cpp
parent3cbc9d77b7c34a9e92224fd9b2b8766210c07838 (diff)
downloadchromium_src-54bb8a4d82757e827f5cd06d3e2b29c79da61455.zip
chromium_src-54bb8a4d82757e827f5cd06d3e2b29c79da61455.tar.gz
chromium_src-54bb8a4d82757e827f5cd06d3e2b29c79da61455.tar.bz2
Speculative check to reduce the amount of stuff happening on
startup. We don't need the webkit threading stuff until we get html5 database running. Review URL: http://codereview.chromium.org/5675 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/pending/wtf/ThreadingWin.cpp')
-rw-r--r--webkit/pending/wtf/ThreadingWin.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/webkit/pending/wtf/ThreadingWin.cpp b/webkit/pending/wtf/ThreadingWin.cpp
index d2da60f..d5601de 100644
--- a/webkit/pending/wtf/ThreadingWin.cpp
+++ b/webkit/pending/wtf/ThreadingWin.cpp
@@ -121,11 +121,13 @@ void initializeThreading()
{
if (!atomicallyInitializedStaticMutex) {
atomicallyInitializedStaticMutex = new Mutex;
- threadMapMutex();
- wtf_random_init();
- initializeMainThread();
- mainThreadIdentifier = currentThread();
- setThreadName(mainThreadIdentifier, "Main Thread");
+ // Test to see if this impacts startup. Remove and refactor if it
+ // matters.
+ //threadMapMutex();
+ //wtf_random_init();
+ //initializeMainThread();
+ //mainThreadIdentifier = currentThread();
+ //setThreadName(mainThreadIdentifier, "Main Thread");
}
}