[PyQt] Re: /NewThread/, and Python stack in Visual Studio

Kevin Watters kevinwatters at gmail.com
Thu Jun 12 17:44:24 BST 2008

Phil Thompson <phil <at> riverbankcomputing.com> writes:

> On Thursday 12 June 2008 3:50:00 pm Kevin Watters wrote:
> > I noticed /NewThread/ on QThread and QRunnable in the PyQT source-- and
> > a peek at the source code shows SIP creating thread local structures for
> > pending objects.
> >
> > My app creates threads, but only through Python's threading module.
> >
> > Do I need to use /NewThread/, or call something like api_new_thread/
> > api_end_thread manually?
> Yes, if SIP wrapped objects can be created in a thread.
> Phil

I'll give this a shot.  I hate to be a pain by pointing out that the docs don't
specify this, so maybe if I figure it out I'll submit a doc patch :P

Anyone lucky enough to be using Visual Studio for their SIP projects have any
advice on the Python stack trace issue?

More information about the PyQt mailing list