Hello
Question for an expert in software.
Threadsafe is suppose to accelerate the process of some DLL. Is it appropriate to use the Threadsafe option with the globalvariable dll?
https://www.multicharts.com/trading-sof ... ThreadSafe.
If so, How do I do it?
Martin
Threadsafe and Global Variable DLL
Re: Threadsafe and Global Variable DLL
Some functions from globalvariable.dll v2.2 can be marked as thread-safe, some ones is not.Hello
Question for an expert in software.
Threadsafe is suppose to accelerate the process of some DLL. Is it appropriate to use the Threadsafe option with the globalvariable dll?
https://www.multicharts.com/trading-sof ... ThreadSafe.
If so, How do I do it?
Martin
For example:
1)
Code: Select all
GV_SetBoolean/GV_GetBoolean, GV_SetInteger/GV_GetInteger, GV_SetDouble/GV_GetDouble etc
2)
Code: Select all
GV_SetNamedBool/GV_GetNamedBool etc
In any case, you have to look at the implementation of the function you are interested in.
Re: Threadsafe and Global Variable DLL
I use GV_GetNamedString, CV_SetNamedString, so I suppose that I can't use it. If I use numbers instead Name to reference GV, should it be applicable?Some functions from globalvariable.dll v2.2 can be marked as thread-safe, some ones is not.Hello
Question for an expert in software.
Threadsafe is suppose to accelerate the process of some DLL. Is it appropriate to use the Threadsafe option with the globalvariable dll?
https://www.multicharts.com/trading-sof ... ThreadSafe.
If so, How do I do it?
Martin
For example:
1)can be marked threadsafe because it is threadsafe by implementation.Code: Select all
GV_SetBoolean/GV_GetBoolean, GV_SetInteger/GV_GetInteger, GV_SetDouble/GV_GetDouble etc
2)can NOT be marked threadsafe because it is NOT threadsafe by implementation.Code: Select all
GV_SetNamedBool/GV_GetNamedBool etc
In any case, you have to look at the implementation of the function you are interested in.
I'm greener than a healty grass in that field.. Meaning, I'm loss...
Martin
Re: Threadsafe and Global Variable DLL
Yes. I want to note that the "numbers" faster than "names" and the access time is independent of the number of "numbers GV", as the time when access to the "names GV" is directly proportional to the it's amount. Implementation of "named" version is ineffective.I use GV_GetNamedString, CV_SetNamedString, so I suppose that I can't use it. If I use numbers instead Name to reference GV, should it be applicable?
Re: Threadsafe and Global Variable DLL
Thanks for the info. All my GV are "Names" one.Yes. I want to note that the "numbers" faster than "names" and the access time is independent of the number of "numbers GV", as the time when access to the "names GV" is directly proportional to the it's amount. Implementation of "named" version is ineffective.I use GV_GetNamedString, CV_SetNamedString, so I suppose that I can't use it. If I use numbers instead Name to reference GV, should it be applicable?
Strangely, looking in my MC function available, only the names one are there. I will look to re installing the GV and re-code
Martin