On 13 Apr 2010, at 5:19am, Max Vlasov wrote: > On Tue, Apr 13, 2010 at 3:46 AM, Simon Slavin <slav...@bigfraud.org> wrote: > >> >> Does SQLite actually use byte-range locking ? I thought it always locked >> the entire file. >> >> > Simon, I think it's about the way sqlite implements different locks, a quote > from os.h > > ** A SHARED_LOCK is obtained by locking a single randomly-chosen > ** byte out of a specific range of bytes. ...
Oh, I see. That's called semaphore locking. I never realised SQLite used it. Thanks for the info. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users