Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Libraries | CSyncEvent Class - WinApi

MetaTrader Experts, Indicators, Scripts and Libraries

CSyncEvent class provides a mechanism which processes can use to synchronize access to a resource. This is very useful when you for example use shared memory for communication between processes.

Normally, if you want to know if a shared resource was accessed by another process and something was written into it, you would have to check the resource constantly. However, this method is inefficient. When using synchronization functions, like events, you just simply set the event state to signaled, this way other processes see it and instantly understand that something was written into a resource.

19254

Best MetaTrader Indicators + Profitable Expert Advisors