1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Tests for the new asynchronous IO API. (CVS 6549)

FossilOrigin-Name: 11b2564e7159168cd0815bb9bc93688586fad1e0
This commit is contained in:
danielk1977
2009-04-25 08:39:14 +00:00
parent 4fa326564a
commit 6f050aa2bf
10 changed files with 306 additions and 132 deletions

View File

@ -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();
}