User Level
System Administrators
User LevelSystem Administrators SyntaxStart Thread
By default, when you enter MQL, you are in thread number 1. You can start a new thread by running the
If, in the previous thread, you had started a transaction and made a change to the database but had not committed it yet, the change will not be visible in the new thread. This behavior is the same as you would have if you had multiple MQL processes running and in one of them a transaction had been started and a change made. Because application/framework/custom programs cannot guarantee that all programs have been precompiled, it is important to adhere to the following rules when using secondary threads:
Resume ThreadYou can switch back to an existing thread using the For example, if you are in the third thread and want to return to the first thread, use:
Print ThreadYou can find out the current thread by running
Kill ThreadA thread other than the current one can be killed (like killing an MQL process) by using the
|