gnome-vfs and file locking



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);

???



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