Download MetaTrader 5

EA thread name

To add comments, please log in or register
juxeii
88
juxeii  

Hello,

in my DLL in need to do some synchronizing with the current EA thread.

Do you know if one can block the current EA thread with C#?

Thanks

Jimmy
490
Jimmy  
juxeii:

Hello,

in my DLL in need to do some synchronizing with the current EA thread.

Do you know if one can block the current EA thread with C#?


Create the necessary lock/unlock function in a dll. and let the EA call that external functions when you want it to block.

Beware that there are several threads in an EA, one for each event handler.

To add comments, please log in or register