On 2008-09-08, Seb <[EMAIL PROTECTED]> wrote:
> I'm trying to implement a file server using the code below. However
> the locking doesn't work. I can delete while put'ing a file.
>
> Anyone got an idea about why?
>

[code snipped]

As far as I understand you are writing some kind of server. What isn't clear
is whether the daemon is using threading or forking to handle multiple requests.

If I remember correctly, flock doesn't work well with multiple threads. 

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

Reply via email to