Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mes in exe - separate thread
#1
The following "Main" function calls and runs function in separate thread "Function_Thread" with no problem.

Function Main
Code:
Copy      Help
str text="test"
mac "Function_Thread" "" text

Function Function_Thread
Code:
Copy      Help
function str'text
mes text "Label"
ret

However, if "Main" is converted to exe directive "mes" is not run in separate thread "Function_Thread".

Any advice is mostly welcome.
#2
The process ends when its primary thread ends. Let Main wait until the mes thread ends.
#3
Many thanks for a very important and useful advice. Best regards.


Forum Jump:


Users browsing this thread: 2 Guest(s)