Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can two functions run simultaneously?
I read the QM help, and the topic of Threads has one content as below:

QM allows to run 1 macro and any number of functions at a time. All they run in their own threads. Several instances of the same function also can run simultaneously, because each runs in its own thread.

But I write one macro included two functions (the two functions can be same or different), after it executes first function, it can execute second function. But I want the two functions can run simultaneously, can QM do it?
Function Function253
Copy      Help
out "Function253 started"
out "Function253 ending"
Macro Macro2154
Copy      Help
out "Macro2154 started"
mac "Function253"
mac "Function253"
out "Macro2154 ending"
Successfully, many thanks.

Forum Jump:

Users browsing this thread: 1 Guest(s)