Pavel Ivanov wrote: > >> To be clear, my idea of blocking is as follows: if one tries to >> achieve a lock, and it is not possible, the request is put into a queue, >> and the caller stops consuming cycles. Locks are then granted (when >> feasible) in the queue in the order that they were requested. >> > > The problem is who will grant these locks? You want to launch some > separate process which will contain information about all processes > requested locks and will communicate somehow with these processes to > tell them that they can continue in acquiring the lock? > > The kernel grants them: http://www.manpagez.com/man/2/flock . Or I might use fcntl().
_______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users