Overview
| SHA1 Hash: | 930ba85262b76e8b1555bcfe4637135c27e04d58 |
|---|---|
| Date: | 2012-12-07 09:08:42 |
| User: | mistachkin |
| Comment: | Spelling and header fixes for the async extension. |
Tags And Properties
- branch=trunk inherited from [704b122e53]
- sym-trunk inherited from [704b122e53]
Changes
Changes to ext/async/README.txt
1 NOTE (2012-11-29): 1 NOTE (2012-11-29): 2 2 3 The functionality implemented by this extension has been superceded | 3 The functionality implemented by this extension has been superseded 4 by WAL-mode. This module is no longer supported or maintained. The 4 by WAL-mode. This module is no longer supported or maintained. The 5 code is retained for historical reference only. 5 code is retained for historical reference only. 6 6 7 ------------------------------------------------------------------------------ 7 ------------------------------------------------------------------------------ 8 8 9 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 10 operation is finished before returning control to the calling application. 10 operation is finished before returning control to the calling application.
Changes to ext/async/sqlite3async.h
71 /* 71 /* 72 ** This function unregisters the asynchronous IO VFS using 72 ** This function unregisters the asynchronous IO VFS using 73 ** sqlite3_vfs_unregister(). 73 ** sqlite3_vfs_unregister(). 74 ** 74 ** 75 ** On win32 platforms, this function also releases the small number of 75 ** On win32 platforms, this function also releases the small number of 76 ** critical section and event objects created by sqlite3async_initialize(). 76 ** critical section and event objects created by sqlite3async_initialize(). 77 */ 77 */ 78 void sqlite3async_shutdown(); | 78 void sqlite3async_shutdown(void); 79 79 80 /* 80 /* 81 ** This function may only be called when the asynchronous IO VFS is 81 ** This function may only be called when the asynchronous IO VFS is 82 ** installed (after a call to sqlite3async_initialize()). It processes 82 ** installed (after a call to sqlite3async_initialize()). It processes 83 ** zero or more queued write operations before returning. It is expected 83 ** zero or more queued write operations before returning. It is expected 84 ** (but not required) that this function will be called by a different 84 ** (but not required) that this function will be called by a different 85 ** thread than those threads that use SQLite. The "background thread" 85 ** thread than those threads that use SQLite. The "background thread" ................................................................................................................................................................................ 90 ** verb to sqlite3async_control() (see below for details). By default 90 ** verb to sqlite3async_control() (see below for details). By default 91 ** this function never returns - it processes all pending operations and 91 ** this function never returns - it processes all pending operations and 92 ** then blocks waiting for new ones. 92 ** then blocks waiting for new ones. 93 ** 93 ** 94 ** If multiple simultaneous calls are made to sqlite3async_run() from two 94 ** If multiple simultaneous calls are made to sqlite3async_run() from two 95 ** or more threads, then the calls are serialized internally. 95 ** or more threads, then the calls are serialized internally. 96 */ 96 */ 97 void sqlite3async_run(); | 97 void sqlite3async_run(void); 98 98 99 /* 99 /* 100 ** This function may only be called when the asynchronous IO VFS is 100 ** This function may only be called when the asynchronous IO VFS is 101 ** installed (after a call to sqlite3async_initialize()). It is used 101 ** installed (after a call to sqlite3async_initialize()). It is used 102 ** to query or configure various parameters that affect the operation 102 ** to query or configure various parameters that affect the operation 103 ** of the asynchronous IO VFS. At present there are three parameters 103 ** of the asynchronous IO VFS. At present there are three parameters 104 ** supported: 104 ** supported: