Working With Transactions
abort transaction [NAME];
commit transaction;
print transaction;
start transaction [read];
set transaction wait|nowait|savepoint [NAME];
Working With Threads
MQL has a notion of a “thread,” which is a means by which you can run multiple MQL sessions inside a single process. Each thread is like a separate MQL session, except that all threads run within the same MQL process. This concept was introduced into MQL to support the MSM idea of multiple “deferred commit” windows.
start thread;
resume thread 1;
print thread;
kill thread 2;