Changeset 38101 in webkit for trunk/JavaScriptCore/wtf/MainThread.cpp
- Timestamp:
- Nov 4, 2008, 10:57:01 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/MainThread.cpp
r36056 r38101 50 50 typedef Vector<FunctionWithContext> FunctionQueue; 51 51 52 static bool callbacksPaused; // This global varia lble is only accessed from main thread.52 static bool callbacksPaused; // This global variable is only accessed from main thread. 53 53 54 54 Mutex& mainThreadFunctionQueueMutex() 55 55 { 56 static Mutex staticMutex;56 static Mutex& staticMutex = *new Mutex; 57 57 return staticMutex; 58 58 } … … 60 60 static FunctionQueue& functionQueue() 61 61 { 62 static FunctionQueue staticFunctionQueue;62 static FunctionQueue& staticFunctionQueue = *new FunctionQueue; 63 63 return staticFunctionQueue; 64 64 }
Note:
See TracChangeset
for help on using the changeset viewer.