Asynchronous loading
Posted: Fri Mar 07, 2014 8:55 am
Hello,
I am trying to implement asynchronous .ptc loading and getting random crashes (usually on Magic_CreateFirstRenderedParticlesList). For example emitter A is loaded and being rendered while emitter B is still being loaded (on another thread) and sometimes program just crashes there so I asume some kind of static list/array is used. Could you list functions which might not be thread-safe so I could use mutex to protect their calls? Also do you have any plans to make this API thread-safe?
I am trying to implement asynchronous .ptc loading and getting random crashes (usually on Magic_CreateFirstRenderedParticlesList). For example emitter A is loaded and being rendered while emitter B is still being loaded (on another thread) and sometimes program just crashes there so I asume some kind of static list/array is used. Could you list functions which might not be thread-safe so I could use mutex to protect their calls? Also do you have any plans to make this API thread-safe?