Calling Different function in threads
-
@bogdan Then I suppose my answer should help you :)
-
@daemons Use seed threads and run a different function from each of them.
-
@daemons Sorry bud still didn't understand what you wrote there .... but hey if somebody else has any idea what i'm talking about you're welcome to jump in
-
@daemons You might be confused by the way the project is run in the Record mode. It's single-threaded only. You would not be able to observe thread index branching using this mode. You should use the Run mode to use all this. Piece together a simple demo project and use the Log action to see how it works in multiple threads.
-
@daemons Strange but it works .... i have to wrap my head around this logic ....i'm a ubot user and the logic is different
Thanks bud for the help
-
@bogdan Hell, why not? "If you can't explain it simply, you don't understand it well enough"
I hate to be misunderstood ))
Here's a demo script for what you were asking 0_1519329231828_test05.xml
Make sure to launch in the Run mode. See the Log.
Pay attention to the "Thread spawning artifact" messages in the script. They are because of guards preventing surplus threads to be spawned. BAS always maintains the number of threads specified in the "Thread Number" parameter (next to script execution buttons in the Record mode) and so respawns more threads when previous ones terminated.
-
@daemons Thanks again bud , this really helped me
-
@bogdan A while back, I considered Ubot too, but chose to go with BAS. Only watched tutorials and read reviews, though. It still seems that BAS is much more powerful, FREE, extendable and well-maintained.
You might want to upvote my answers if you like, to help the BAS community.
-
@daemons the keyword is "FREE" and "FAST"