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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user