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

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

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 years, 11 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 1
2 Normally, when SQLite writes to a database file, it waits until the write 2 Normally, when SQLite writes to a database file, it waits until the write
3 operation is finished before returning control to the calling application. 3 operation is finished before returning control to the calling application.
4 Since writing to the file-system is usually very slow compared with CPU 4 Since writing to the file-system is usually very slow compared with CPU
5 bound operations, this can be a performance bottleneck. This directory 5 bound operations, this can be a performance bottleneck. This directory
6 contains an extension that causes SQLite to perform all write requests 6 contains an extension that causes SQLite to perform all write requests
7 using a separate thread running in the background. Although this does not 7 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 8 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 9 allows SQLite to return control to the caller quickly even when writing to
10 the database, eliminating the bottleneck. 10 the database, eliminating the bottleneck.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 static void async_mutex_enter(int eMutex); 156 static void async_mutex_enter(int eMutex);
157 static void async_mutex_leave(int eMutex); 157 static void async_mutex_leave(int eMutex);
158 static void async_cond_wait(int eCond, int eMutex); 158 static void async_cond_wait(int eCond, int eMutex);
159 static void async_cond_signal(int eCond); 159 static void async_cond_signal(int eCond);
160 static void async_sched_yield(void); 160 static void async_sched_yield(void);
161 161
162 The functionality required of each of the above functions is described 162 The functionality required of each of the above functions is described
163 in comments in sqlite3async.c. 163 in comments in sqlite3async.c.
164 164
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/ext/README.txt ('k') | third_party/sqlite/sqlite-src-3070603/ext/async/sqlite3async.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698