| Index: Source/wtf/Threading.cpp
|
| diff --git a/Source/wtf/Threading.cpp b/Source/wtf/Threading.cpp
|
| index 74c934533c03b42db5144dda0e3da9bf39ed74f3..5e81e46095c9e5ffc9805fc51e529be48fef5c4d 100644
|
| --- a/Source/wtf/Threading.cpp
|
| +++ b/Source/wtf/Threading.cpp
|
| @@ -32,6 +32,15 @@
|
|
|
| namespace WTF {
|
|
|
| +extern void initializeThreading();
|
| +
|
| +void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction)
|
| +{
|
| + setCurrentTimeFunction(currentTimeFunction);
|
| + setMonotonicallyIncreasingTimeFunction(monotonicallyIncreasingTimeFunction);
|
| + initializeThreading();
|
| +}
|
| +
|
| struct NewThreadContext {
|
| WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
|
|