Re: gnome-vfs and file locking



On Thu, Aug 31, 2000 at 05:40:14PM +0200, Dietmar Maurer wrote:
> I wonder how we can implement file locking for gnome. What if we
> extend the GnomeVFSMethod with lock and unlock functions:
> 
> GnomeVFSResult lock (GnomeVFSMethod *method,
>                      GnomeVFSMethodHandle *method_handle,
>                      gboolean shared);
> 
> GnomeVFSResult unlock (GnomeVFSMethod *method,
>                        GnomeVFSMethodHandle *method_handle);
> 
We've been discussing this a bit in relation to WebDAV locking. WebDAV 
locking is much richer including timeouts, read/write locks, lock querying,
etc. What does your application need locking for?

Ian [gnome-vfs WebDAV hacker]





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]