Can someone please explain to me, in laymen's terms, what
sqlite3_busy_timeout() is used for?

>  This routine sets a busy handler that sleeps for a while when a table is 
> locked. The handler
> will sleep multiple times until at least "ms" milliseconds of sleeping have 
> been done. After
> "ms" milliseconds of sleeping, the handler returns 0 which causes 
> sqlite3_exec() to return
> SQLITE_BUSY.

Perhaps an example with an explaination is in order?

--
- Doug Hanks = dhanks(at)gmail(dot)com

Reply via email to