[Pyrex] Pyrex and the GIL
Andrew Bennetts
andrew-pyrex at puzzling.org
Tue Sep 13 04:46:39 CEST 2005
On Tue, Sep 13, 2005 at 02:22:59PM +1200, Greg Ewing wrote:
[...]
> Hmmm. Maybe the three cases could be
>
> gil # requires GIL held, default
> nogil # requires GIL released
> gil or nogil # doesn't care
That's reasonably clear.
> >How about:
> >
> > @ensures_gil
> > cdef int frobnicate(int result):
>
> Urg! I was hoping to be able to keep the decorator syntax
> out of Pyrex. I suppose inevitably someone is going to want
> it... :-(
I winked for a reason. You can relax, at least for now :)
-Andrew.
More information about the Pyrex
mailing list