To ThreadSafe or Not To ThreadSafe - That is the question

Feb 20, 2014 at 2:11 PM
I am porting a rather large add-in to ExcelDNA from another framework and from an older version of Excel. Does anyone have any best practices about when you should put IsThreadSafe = true on your UDFs?

Some functions are obviously thread safe, such as ones that only access local variables and calculate results based on those.

A lot of my functions retrieve market data from external servers. I think that those operations are correctly coded locking shared data structures appropriately, however the older Excel was single threaded so odds are that if there were latent issues in that code they were not encountered.

What are people's takes or recommendations?
Coordinator
Feb 20, 2014 at 2:28 PM
Hi Harley,

You might also post to the Google group at https://groups.google.com/forum/#!forum/exceldna
It seems to be a bit more active with users who might share their experience.

-Govert