summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-12-04 09:43:21 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-12-04 09:43:25 +0400
commitcf653b70ae1f21439c19843fc7fea0c6c1cfd46d (patch)
tree33e1cc45828640273a42397b84f03f22d7fc4dd6
parent58cc15525ce478d7b910b3abb2a46ef3142960e7 (diff)
downloadqtwebkit-cf653b70ae1f21439c19843fc7fea0c6c1cfd46d.tar.gz
Use WTF::yield() in SQLiteDatabase.cpp
-rw-r--r--debian/patches/dyson-yield.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/dyson-yield.patch b/debian/patches/dyson-yield.patch
index ea2382d..401b1a0 100644
--- a/debian/patches/dyson-yield.patch
+++ b/debian/patches/dyson-yield.patch
@@ -11,3 +11,16 @@ Index: qtwebkit/Source/JavaScriptCore/wtf/Threading.h
+#endif
#endif // Threading_h
+Index: qtwebkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp
+===================================================================
+--- qtwebkit.orig/Source/WebCore/platform/sql/SQLiteDatabase.cpp 2011-12-25 23:12:15.000000000 +0400
++++ qtwebkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp 2013-12-04 12:06:22.191501256 +0400
+@@ -114,7 +114,7 @@
+ if (!m_db)
+ return;
+ sqlite3_interrupt(m_db);
+- yield();
++ WTF::yield();
+ }
+
+ m_lockingMutex.unlock();