Pavel Ivanov wrote:
>>    The kernel grants them: http://www.manpagez.com/man/2/flock . Or I
>> might use fcntl().
>>     
>
> That's why I've asked what is different here from what SQLite already
> does because SQLite uses fcntl() on database file already. You can try
>   

    Then it must use fcntl() with F_SETLK which doesn't block. If it
used F_SETLKW then it would block, and I guess I wouldn't be in this
mess. Hell if I know why they use fcntl() for locks, and don't even give
you the option to block.

> to change it to flock() of course but be aware that SQLite needs more
> lock grades than flock() provides.
>   
    I think we are a long way from me screwing around with sqlite's
source. What I'm trying for is a solution with my own source code.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to