You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
I am trying to see how i can get number of tasks that are done at any specific time after i add in the loop $tasks[$j] = new Task($i, "test{$i}"); $pool->submit($tasks[$j]);
and execute: while ($pool->collect());`
Basically, i create 1000 tasks that extend threaded and after each one is done i want to increase count value shared by all of them to follow the progress. Tried multiple solutions from google but was not able to make it work.
Any idea?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to see how i can get number of tasks that are done at any specific time after i add in the loop
$tasks[$j] = new Task($i, "test{$i}"); $pool->submit($tasks[$j]);
and execute:
while
($pool->collect());`Basically, i create 1000 tasks that extend threaded and after each one is done i want to increase count value shared by all of them to follow the progress. Tried multiple solutions from google but was not able to make it work.
Any idea?
The text was updated successfully, but these errors were encountered: