Chilkat C++ Libraries safe for multi-threading?

Question:
Are the Chilkat C++ libraries safe for multi-threading?

Answer:
Yes. However, it is best practice that you don’t allow multiple threads to call methods on the same object instance at the same time.

Also, objects that communicate via an Internet protocol, such as SMTP, POP3, IMAP, FTP, HTTP, etc. should not be shared between threads. It is OK to have separate instances of a MailMan object (for example) that each has it’s own POP3 and/or SMTP session. But it doesn’t make sense for multiple threads to be trying to share the same POP3/SMTP/FTP/HTTP/IMAP/… session. The reason is that these protocols are stateful and not designed for “multiple conversations” to be occuring simultaneously w/ multiple clients in a single TCP/IP connected session.