Outside of ICE, the SDK is not thread safe.

Matt





-----Original Message-----
From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Vincent Ullmann
Sent: Thursday, May 30, 2013 3:34 PM
To: softimage@listproc.autodesk.com
Subject: Python Multiprocessing in Softimage

Hi List,

i tried to optimize performance of a scripted operator i wrote, by adding 
multithread-support.
So i got a Test-Script working fine in Sublime-Text, but as soon as i try to 
run is from inside Softimage's ScriptEditor or in a ScriptedOperator it breaks.

It gives me this error:
# PicklingError: Can't pickle <class '__ax_main__.Worker'>: it's not found as 
__ax_main__.Worker

Cant find any results in Google, but maybe someone here know how to do it

PS:
No, in this case i cant go to ICE and do my stuff there. ;-)


Reply via email to