Changeset 69935 in webkit
- Timestamp:
- Oct 17, 2010 5:04:27 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r69928 r69935 1 2010-10-17 Hyung Song <beergun@company100.net> 2 3 Reviewed by David Levin. 4 5 Add !SINGLE_THREADED guard. 6 https://bugs.webkit.org/show_bug.cgi?id=47608 7 8 For SINGLE_THREADED ports LockingMutex.tryLock() returns false. 9 This will prevent interrupt() from falling into infinite loop. 10 11 * platform/sql/SQLiteDatabase.cpp: 12 (WebCore::SQLiteDatabase::interrupt): 13 1 14 2010-10-17 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/WebCore/platform/sql/SQLiteDatabase.cpp
r69798 r69935 102 102 void SQLiteDatabase::interrupt() 103 103 { 104 #if !ENABLE(SINGLE_THREADED) 104 105 m_interrupted = true; 105 106 while (!m_lockingMutex.tryLock()) { … … 112 113 113 114 m_lockingMutex.unlock(); 115 #endif 114 116 } 115 117
Note: See TracChangeset
for help on using the changeset viewer.