That's a different topic altogether. We're talking here about locking
modes for the buffer API (PEP 3118). This does not involve actual
locks -- the operations just fail if the requested lock cannot be
obtained.

On 9/12/07, Joel Bender <[EMAIL PROTECTED]> wrote:
> > Sounds much like the modes offered by an old operating system that had a
> > very nice lock manager.
>
> Awe, VMS isn't THAT old, is it?  :-)
>
> I have a wrapper around threading.Lock and threading.RLock that I've
> been using that does deadlock detection and have wished for these lock
> modes many times.  I would hesitate to create a PEP to support this
> until I actually new I could pull it off.
>
> I would be happy to share the code that I have with anybody that might
> find it useful, and welcome some help in implementing these modes.
>
> There's one other very useful feature, and that was a callback from the
> lock manager when a lock that you held was blocking a request from some
> other process.
>
>
> Joel
> _______________________________________________
> Python-3000 mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: 
> http://mail.python.org/mailman/options/python-3000/guido%40python.org
>


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to