On Mon, Apr 7, 2008 at 11:58 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > We have a way to raise an exception in a thread asynchronously, *but* > we don't have a way to interrupt either system calls or blocked lock > acquisitions. I suppose that system calls can be made interruptable > with suitable tweaking of various signal-related settings (at least on > Unix -- and I expect Windows has an equivalent). But I don't know if > mutex acquisitions are interruptable.
I'm working on APIs for interrupting syscalls. I also have interruptible (I'm now calling it cancellable) conditions in my monitors, which'd make it quite easy to implement cancellable Lock objects. -- Adam Olsen, aka Rhamphoryncus _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com