En Sun, 01 Mar 2009 15:39:56 -0200, bruce <bedoug...@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

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to