[PyQt] /NewThread/, and Python stack in Visual Studio
phil at riverbankcomputing.com
Thu Jun 12 16:02:05 BST 2008
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.
More information about the PyQt