Page 1 of 1

Asynchronous loading

PostPosted: Fri Mar 07, 2014 8:55 am
by Tadas
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?

Re: Asynchronous loading

PostPosted: Fri Mar 07, 2014 1:19 pm
by Odin_KG
Hello
Currently API does not support multithreading. I am about to add multithreading in future.

Re: Asynchronous loading

PostPosted: Thu Apr 20, 2017 3:25 pm
by Pomakhin
Hi! What's the status of multithreading support in MP?

Re: Asynchronous loading

PostPosted: Thu Apr 20, 2017 4:25 pm
by Odin_KG
Hi! What's the status of multithreading support in MP?

Unfortunately, I did not add multithreading yet. But trails, beams, 3d particles and a lot of other features were added to the version 3.xx.