Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: third_party/sqlite/src/ext/async/README.txt

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 NOTE (2012-11-29):
2
3 The functionality implemented by this extension has been superseded
4 by WAL-mode. This module is no longer supported or maintained. The
5 code is retained for historical reference only.
6
7 ------------------------------------------------------------------------------
1 8
2 Normally, when SQLite writes to a database file, it waits until the write 9 Normally, when SQLite writes to a database file, it waits until the write
3 operation is finished before returning control to the calling application. 10 operation is finished before returning control to the calling application.
4 Since writing to the file-system is usually very slow compared with CPU 11 Since writing to the file-system is usually very slow compared with CPU
5 bound operations, this can be a performance bottleneck. This directory 12 bound operations, this can be a performance bottleneck. This directory
6 contains an extension that causes SQLite to perform all write requests 13 contains an extension that causes SQLite to perform all write requests
7 using a separate thread running in the background. Although this does not 14 using a separate thread running in the background. Although this does not
8 reduce the overall system resources (CPU, disk bandwidth etc.) at all, it 15 reduce the overall system resources (CPU, disk bandwidth etc.) at all, it
9 allows SQLite to return control to the caller quickly even when writing to 16 allows SQLite to return control to the caller quickly even when writing to
10 the database, eliminating the bottleneck. 17 the database, eliminating the bottleneck.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 new versions of each of the following: 161 new versions of each of the following:
155 162
156 static void async_mutex_enter(int eMutex); 163 static void async_mutex_enter(int eMutex);
157 static void async_mutex_leave(int eMutex); 164 static void async_mutex_leave(int eMutex);
158 static void async_cond_wait(int eCond, int eMutex); 165 static void async_cond_wait(int eCond, int eMutex);
159 static void async_cond_signal(int eCond); 166 static void async_cond_signal(int eCond);
160 static void async_sched_yield(void); 167 static void async_sched_yield(void);
161 168
162 The functionality required of each of the above functions is described 169 The functionality required of each of the above functions is described
163 in comments in sqlite3async.c. 170 in comments in sqlite3async.c.
164
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698