[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqlite-users
Subject:    Re: [sqlite] Database sharing across processes
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2012-07-07 7:34:58
Message-ID: 201207071734.58770.bradh () frogmouth ! net
[Download RAW message or body]

On Saturday 07 July 2012 01:00:01 Jonathan Haws wrote:
> For example, let's say I have two processes that connect to the same
> database file.  One process wants to read from the database, but the other
> process is in the middle of a write.  Does the first process pend on the
> read or not?  If it does not, what does it return?  Is it a successful
> read?  What about the reverse case when the first process wants to write
> but the second process is reading? 
SQLite has locking. See http://www.sqlite.org/lockingv3.html

Brad

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic