[Pyrex] Pyrex and the GIL
Simon Burton
simon at arrowtheory.com
Wed Sep 7 02:53:29 CEST 2005
On Wed, 31 Aug 2005 14:36:14 +1200
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
>
> John (J5) Palmieri wrote:
>
> > Would kind of be nice if pyrex added some attribute and handled the GIL
> > itself:
> >
> > cdef GIL my_callback():
> >
> > or
> >
> > cdef callback my_callback():
>
> I have some ideas along these lines, although
> I need to think about it some more.
And inversely: some syntax to indicate that a particular c function
call can release the GIL. This could be either in the cdef extern declaration
of the c function, or where it is called (both?)
Simon.
--
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com
More information about the Pyrex
mailing list