Just wanted to comment; I was working on a DLL for TradeStation today and realized that they probably can't ever become multi-threaded without some serious implications for old software. The reason is that if their strategies became multi-threaded, then all the DLLs (like TSKit, ELCollections, and a bunch of other dependent stuff) would then have to become thread-safe. Given there's so much baggage in terms of old software on this platform, I highly doubt they will be able to pull this off.
This also has implications for moving code over to MultiCharts; if multicharts chart strategies invoke calls on DLLs from the same process, now you have thread safety issues. I haven't dug into the situation any further, but will keep my eyes on it. I will likely just use some kind of spin lock that works under both TS and MC, unless someone else out there has some advice for me.
This also has implications for moving code over to MultiCharts; if multicharts chart strategies invoke calls on DLLs from the same process, now you have thread safety issues. I haven't dug into the situation any further, but will keep my eyes on it. I will likely just use some kind of spin lock that works under both TS and MC, unless someone else out there has some advice for me.