Forum: NinjaTrader
September 13th, 2017, 12:39 AM
|
Replies: 8
Views: 1,504
My understanding of a singleton is to have a...
My understanding of a singleton is to have a class that instantiates to the same instance
so that two processes calling the class, are using the same data.
I used it in a trading risk module that...
|
Forum: NinjaTrader
September 12th, 2017, 04:14 PM
|
Replies: 8
Views: 1,504
If two threads access the same data (in true...
If two threads access the same data (in true multi-threading), then you DO have an issue
but i think NT 7/8 does NT execute in real multi-threading
In my code outside NT i need to keep an eye on...
|
Forum: NinjaTrader
September 12th, 2017, 03:31 PM
|
Replies: 8
Views: 1,504
Theorethically you would run into a...
Theorethically you would run into a multi-threading issue, but i thin NT7 is not that much of a multi-threading beast
you would then have to put locks around critical sections
What was the...
|