Is multithreading supported in Aspose.Slides (java). With multithreading, I mean can I open 2-3 threads to work simultaneously on the same PPT file?
Presentation object is not thread safe.
Can I open 2-3 threads to work on different PPT files with aspose.slides (java)?
Dear PSPL,
It is documented that Presentation object is not thread safe, but actually it is; because of the changes later.
Presentation object is created from existing ppt file inside the memory; after that ppt file is released, and you are able to do any modification/manipulation in the presentation object inside memory without affecting original ppt file and later can output the presentation object to some output stream.
I will also request technical team to better answer your question.
Hello PSPL,
Sure, you can open different ppt files in different threads and process them simultaneously.
In the same take, as Shakeel said, you can’t edit or read the same ppt file in different threads.
Also you can create several Presentation objects for single file.