Forum: Poser Python Scripting


Subject: A multithreading in Poser Python.

JTrout opened this issue on Nov 02, 2011 ยท 9 posts


bagginsbill posted Wed, 02 November 2011 at 5:34 PM

You want to use a thread safe queue where background threads can post strings for display, but not actually display them.

Then, set up a timer from the UI thread that pulls messages from the queue and shows them in a wx dialog window. This way you can write code to do long background work and not worry about output from there.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)