We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Multithreading

Hello,

I’m currently building application using Aspose.Cells and find out that currently Aspose.Cells does not support multiple threads accessing one WorkBook. Is it possible that this thing could be changed so I could use multithreading building exel workbook?

Thank you!

Kind Regards

Alikas

Hi,

Aspose.Cells for Java library is written in pure JAVA, so, concurrency and multithreading is not a problem by any means. Aspose.Cells does support Multithreading and you may create multi-threaded applications using Aspose.Cells. But, Aspose.Cells is multi-thread safe as long as only one thread works on a document at a time. It is a typical scenario to have one thread working on generating separate document. Our several users do use the product in multi-threaded based applications.

If you manipulate a single workbook in different threads, the results would be unstable (this is due to some global data in Excel file formats). So, if you have any shared data of your own, then you will have to synchronize it yourself.



Thank you.