file locking...
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Sun Mar 1 12:50:29 EST 2009
En Sun, 01 Mar 2009 15:39:56 -0200, bruce <bedouglas at earthlink.net>
escribió:
> the issue that i'm looking at is analogous to a FIFO, where i have lots
> of
> files being shoved in a dir from different processes.. on the other end,
> i
> want to allow mutiple client processes to access unique groups of these
> files as fast as possible.. access being fetch/gather/process/delete the
> files. each file is only handled by a single client process.
I still fail to see why do you need any locking. Could you provide a
concrete example?
Suppose I have 26 processes, each one handles files starting with a
certain letter. This example fits your description perfectly, and no
locking is needed at all.
--
Gabriel Genellina
More information about the Python-list
mailing list