ThreadSafe

From MultiCharts
Revision as of 19:58, 14 March 2012 by Admin (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declares the function imported from DLL as thread-safe.

It will increase the performance of calculation and optimization of the studies that use external DLLs.

Usage

ThreadSafe

Notes

It is not recommended to apply ThreadSafe attribute to the functions exported from elkit32.dll (for example FindAddress_).

Example

DEFINEDLLFUNC: ThreadSafe, "user32.dll", Void, "MessageBeep", Int;

Will declare MessageBeep function of user32.dll as thread-safe.