[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (fcntl fd F_GETLK ...) from Guile
From: |
Kevin Ryde |
Subject: |
Re: (fcntl fd F_GETLK ...) from Guile |
Date: |
Sun, 02 Sep 2007 10:30:03 +1000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Kaloian Doganov <address@hidden> writes:
>
> I need to do record (range) locking, not whole-file locking, and I
> hoped to do it with Guile.
If you don't mind breaking out a little C code it shouldn't be too hard.
(I can never remember which types of locks are voluntary or mandatory,
and which work over NFS or not, etc. Myself I've only been using flock
on a lockfile to get whole-directory locking.)