Re: Threading and GIL

2009-05-07 Thread googler . 1 . webmaster
hey, thanks, that works fine. I wrapped it around, done a lot of tests and it works fine. Just had done a few other things to make it stable. cheers. -- http://mail.python.org/mailman/listinfo/python-list

Re: Threading and GIL

2009-05-07 Thread Carl Banks
On May 7, 12:20 am, googler.1.webmas...@spamgourmet.com wrote: > thats the reason why its not working. Imagine the end() method of the > thread object is called so the C++ Function is opened where the code > for this method is in. You're going to have to post some code if you want better help; thi

Re: Threading and GIL

2009-05-07 Thread googler . 1 . webmaster
Hi, thats the reason why its not working. Imagine the end() method of the thread object is called so the C++ Function is opened where the code for this method is in. At a line the Code ...->End() is called which waits that the C++ Thread class is finished. BUT here is the problem: In the Method o

Re: Threading and GIL

2009-05-06 Thread Carl Banks
On May 6, 5:13 pm, googler.1.webmas...@spamgourmet.com wrote: > Hi! > > I have a big problem I can't solve and I hope anyone of you can help > me. I use the Python C API and in C++ I have a class which represets a > thread object, similiar to the thread class of the known Python Thread > class but

Threading and GIL

2009-05-06 Thread googler . 1 . webmaster
Hi! I have a big problem I can't solve and I hope anyone of you can help me. I use the Python C API and in C++ I have a class which represets a thread object, similiar to the thread class of the known Python Thread class but with some needed additions so thats the reason why I have to built my own