[Python-ideas] Atomic file.get(offset, length)

Yuval Greenfield ubershmekel at gmail.com
Mon Jul 23 18:50:29 CEST 2012


On Mon, Jul 23, 2012 at 6:00 PM, Guido van Rossum <guido at python.org> wrote:

> If you write and read a file from multiple threads you're crazy.
>

Perhaps, though I could imagine a fine-grained-locking DB doing this with
constant sized data structures. Though that might be a good time to pull
this one out:
http://en.wikipedia.org/wiki/Readers%E2%80%93writer_lock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120723/4a12fd4b/attachment.html>


More information about the Python-ideas mailing list