[Python-3000] python-safethread project status

Adam Olsen rhamph at gmail.com
Tue Apr 8 08:21:10 CEST 2008


On Mon, Apr 7, 2008 at 11:58 PM, Guido van Rossum <guido at python.org> 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


More information about the Python-3000 mailing list