On 11/9/07, Joanne Pham <[EMAIL PROTECTED]> wrote: > I knew that SQLite doesn't allow concurrency for both read and write at the > same time. > My application is written in C++ so Is there any way that we can check if > there is any connection to the database so the second connection needs to > wait. For example my application write to the database and other application > is reading data from database so both read and write need to check if there > is any connection to the database before making the connection to the > database.
I'm not clear on what problem you're trying to solve. If SQLite cannot do something now it will return SQLITE_BUSY from most calls. What other behavior do you need? ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------