Type/to search
Built-in Functions
Global
Log
Market
Trade
Account
Futures
Exchange
IO
Network
Storage
Threads
exchange.Go
EventLoop
ctx.subscribe
ctx.poll
ctx.order
ctx.cancel
ctx.submit
Subscription
threading
Thread
ThreadLock
ThreadEvent
ThreadCondition
ThreadCondition.notify
ThreadCondition.notifyAll
ThreadCondition.wait
ThreadCondition.acquire
ThreadCondition.release
ThreadDict
Server
TA
Talib
OS
Structures
Built-in Variables and Constants
Conventions
Exchanges

Condition variable object used for implementing synchronization and communication between multiple threads.

In this sectionRead the whole section

NameDescription
ThreadCondition.notifyWakes up one waiting thread (if any exists).
ThreadCondition.notifyAllWakes up all waiting threads.
ThreadCondition.waitPuts a thread into a waiting state under specific conditions.
ThreadCondition.acquireRequests a thread lock (acquire lock).
ThreadCondition.releaseReleases the thread lock (unlock).