Free Support Forum - aspose.com

Is Aspose.Task thread safe?

Can Aspose.Task be used in a threaded environment? I would like to have multiple simultaneous threads running, each reading from a different mpp file.

Hi David,


Thank you for posting your inquiry.

Aspose.Tasks API uses the Project class to read and save various types of Project data files. This class has the following characteristics that should be considered for multi-threaded operations on loaded files.

"The Public static (Shared in Visual Basic) members of Project type are safe for multithreaded operations. However, Instance members are not guaranteed to be thread-safe. "