Changeset 188596 in webkit for trunk/Tools/TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp
- Timestamp:
- Aug 18, 2015, 2:28:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp
r188594 r188596 29 29 #include <gio/gio.h> 30 30 #include <thread> 31 #include <wtf/Condition.h> 32 #include <wtf/Lock.h> 31 33 #include <wtf/WorkQueue.h> 32 34 #include <wtf/glib/GRefPtr.h> … … 39 41 struct TestingContext { 40 42 Lock m_lock; 41 ThreadCondition m_testCompleted;43 Condition m_testCompleted; 42 44 GMainContext* m_mainContext; 43 45 } context; … … 60 62 LockHolder locker(context->m_lock); 61 63 EXPECT_EQ(g_main_context_get_thread_default(), context->m_mainContext); 62 context->m_testCompleted. signal();64 context->m_testCompleted.notifyOne(); 63 65 }, &context); 64 66 });
Note:
See TracChangeset
for help on using the changeset viewer.