Commit 3b841b41 authored by darin@apple.com's avatar darin@apple.com
Browse files

2008-11-04 Darin Adler <darin@apple.com>

        Reviewed by Tim Hatcher.

        * wtf/ThreadingNone.cpp: Tweak formatting.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6d0ef6fb
2008-11-04 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* wtf/ThreadingNone.cpp: Tweak formatting.
2008-11-03 Darin Adler <darin@apple.com> 2008-11-03 Darin Adler <darin@apple.com>
   
Reviewed by Tim Hatcher. Reviewed by Tim Hatcher.
......
...@@ -32,27 +32,27 @@ ...@@ -32,27 +32,27 @@
namespace WTF { namespace WTF {
void initializeThreading() {} void initializeThreading() { }
ThreadIdentifier createThread(ThreadFunction, void*, const char*) { return 0; } ThreadIdentifier createThread(ThreadFunction, void*, const char*) { return 0; }
int waitForThreadCompletion(ThreadIdentifier, void**) { return 0; } int waitForThreadCompletion(ThreadIdentifier, void**) { return 0; }
void detachThread(ThreadIdentifier) { } void detachThread(ThreadIdentifier) { }
ThreadIdentifier currentThread() { return 0; } ThreadIdentifier currentThread() { return 0; }
bool isMainThread() { return false; } bool isMainThread() { return false; }
Mutex::Mutex() {} Mutex::Mutex() { }
Mutex::~Mutex() {} Mutex::~Mutex() { }
void Mutex::lock() {} void Mutex::lock() { }
bool Mutex::tryLock() { return false; } bool Mutex::tryLock() { return false; }
void Mutex::unlock() {} void Mutex::unlock() { }
ThreadCondition::ThreadCondition() {} ThreadCondition::ThreadCondition() { }
ThreadCondition::~ThreadCondition() {} ThreadCondition::~ThreadCondition() { }
void ThreadCondition::wait(Mutex& mutex) {} void ThreadCondition::wait(Mutex& mutex) { }
bool ThreadCondition::timedWait(Mutex& mutex, double interval) { return false; } bool ThreadCondition::timedWait(Mutex& mutex, double interval) { return false; }
void ThreadCondition::signal() {} void ThreadCondition::signal() { }
void ThreadCondition::broadcast() {} void ThreadCondition::broadcast() { }
void lockAtomicallyInitializedStaticMutex() {} void lockAtomicallyInitializedStaticMutex() { }
void unlockAtomicallyInitializedStaticMutex() { } void unlockAtomicallyInitializedStaticMutex() { }
} // namespace WebCore } // namespace WebCore
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment