The command line program `lockfile` locks based on files. I wants to do the
same thing but based on a row in a table. For example (this is just one
example feature, but all other features should also be preserved), if a
given row is there, the process will hang unless some other process delete
the given row. Multiple processes can compete for the same row. Because
program like this should deal with concurrency, I am not clear how to make
it bug free. Does anybody has a ready-to-use solution? Thanks.
-- 
Regards,
Peng
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to