资源加载中... loading...

JavaScript Multi-Threading

The FMZ Quant Trading Platform truly supports the multi-threaded function of the JavaScript language strategy from the bottom of the system, and implements the following objects:

Objects Directions Remarks
threading Multithreaded global object Member functions: Thread, getThread, mainThread, etc.
Thread Thread object Member functions: peekMessage, postMessage, join, etc.
ThreadLock Thread lock object Member functions: acquire, release. They can be passed into the thread environment as parameters of the thread execution function.
ThreadEvent Event object Member functions: set, clear, wait, isSet. They can be passed into the thread environment as a parameter of the thread execution function.
ThreadCondition Condition object Member functions: notify, notifyAll, wait, acquire, release. They can be passed into the thread environment as a parameter of the thread execution function.
ThreadDict Dictionary object Member functions: get, set. They can be passed into the thread environment as parameters of the thread execution function.

FMZ Quant Trading Platform Syntax Manual:JavaScript Multi-Threading

Network Functions Web3