Enlightenment CVS committal Author : ulisses Project : e17 Module : proto/python-efl
Dir : e17/proto/python-efl/python-emotion/emotion Modified Files: emotion.c_emotion.pyx Log Message: Make python-emotion thread-safe. - acquiring/releasing GIL using 'with GIL' annotation - bumped version number =================================================================== RCS file: /cvs/e/e17/proto/python-efl/python-emotion/emotion/emotion.c_emotion.pyx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- emotion.c_emotion.pyx 30 Sep 2007 22:43:10 -0000 1.7 +++ emotion.c_emotion.pyx 1 Oct 2007 04:38:41 -0000 1.8 @@ -1,7 +1,8 @@ cimport evas.c_evas as c_evas import evas.c_evas -cdef void _emotion_callback(void *data, evas.c_evas.Evas_Object *o, void *ei): +cdef void _emotion_callback(void *data, + evas.c_evas.Evas_Object *o, void *ei) with GIL: cdef Emotion obj cdef object event obj = <Emotion>evas.c_evas._Object_from_instance(<long>o) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs