Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can two functions run simultaneously?
#1
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?
#2
example
Function Function253
Code:
Copy      Help
out "Function253 started"
2
out "Function253 ending"
Macro Macro2154
Code:
Copy      Help
out "Macro2154 started"
mac "Function253"
mac "Function253"
out "Macro2154 ending"
#3
Successfully, many thanks.


Forum Jump:


Users browsing this thread: 1 Guest(s)