Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for multiple integer variables
#1
I have several (4-5) search-type threads running simultaneously. If they ALL fail, I want something else to be done. The time to fail can be variable. For one fail, I would use Wait for variable but how would I follow multiple variables or search threads. I see Wait for multiple handles but not sure if this applies directly.

Also, typo in QM Help under Wait for other events "Fait for image"

Thanks!!
S
#2
One of possible ways:

Use single variable. Set it to the number of threads, and wait until the variable is 0. Each thread decrements it.
#3
Cool! Thanks!!!
S


Forum Jump:


Users browsing this thread: 1 Guest(s)