diff options
author | danielk1977 <danielk1977@noemail.net> | 2009-04-25 08:39:14 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2009-04-25 08:39:14 +0000 |
commit | 6f050aa2bf87ebea21e95231a80aec68b1363e30 (patch) | |
tree | 2516b0c778e24d4a79646c64fabe12516a89d12c /ext/async/sqlite3async.c | |
parent | 4fa326564a6af062eaa4f035e0fe1a228e71252e (diff) | |
download | sqlite-6f050aa2bf87ebea21e95231a80aec68b1363e30.tar.gz sqlite-6f050aa2bf87ebea21e95231a80aec68b1363e30.zip |
Tests for the new asynchronous IO API. (CVS 6549)
FossilOrigin-Name: 11b2564e7159168cd0815bb9bc93688586fad1e0
Diffstat (limited to 'ext/async/sqlite3async.c')
-rw-r--r-- | ext/async/sqlite3async.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/async/sqlite3async.c b/ext/async/sqlite3async.c index 586a749c8..c2532b9c0 100644 --- a/ext/async/sqlite3async.c +++ b/ext/async/sqlite3async.c @@ -10,7 +10,7 @@ ** ************************************************************************* ** -** $Id: sqlite3async.c,v 1.3 2009/04/24 10:13:06 danielk1977 Exp $ +** $Id: sqlite3async.c,v 1.4 2009/04/25 08:39:15 danielk1977 Exp $ ** ** This file contains the implementation of an asynchronous IO backend ** for SQLite. @@ -1550,7 +1550,7 @@ static void asyncWriterThread(void){ async_mutex_leave(ASYNC_MUTEX_QUEUE); holdingMutex = 0; if( async.ioDelay>0 ){ - pVfs->xSleep(pVfs, async.ioDelay); + pVfs->xSleep(pVfs, async.ioDelay*1000); }else{ async_sched_yield(); } |