@YounesGa To have each thread use only 1 line, set the value "max success usage: 1", "max number of simultaneous use: 1".
This is equivalent to the fact that after the flow finishes running with a result of Success, the already used proxy line will not be used again, whereas if there is an error, it will be reused 999999999 times and only one line. for each stream
290a12f6-98cf-4378-9d4c-72a246339adb-image.png
BUG ? Calling Function in Multiple Threads ?
-
I've made an example of the script.
At some point when the script is running the software crashes.
Where do you think is the problem , am i doing something wrong or this is a bug ?0_1519559805722_Call Threads Ex.xml -
@bogdan I guess, you still have a chance to take a look at my example script.
What you can observe when your script is running is usually a symptom of something taking all CPU so that the main BAS processing loop is unable to take control for a single tick of time.
I can assume that the reason is seed and worker threads respawning. My script had special guards implemented for this. You've totally neglected that part.
So back to the drawing board !
-
@seedgg Я постараюсь сделать минимальный тестовый скрипт в ближайшее время. Немного посвободнее станет, и возьмусь. Пока скажу, что у меня успешно работают несколько проектов с многими многопоточными функциями, одни из которых подкидывают работу другим.