-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Concurrency issue in foreach
tasks
#164
Comments
Comparing the cycle detector with the task runner, I can't find where task runner is set as system actor. Maybe this is the reason, partially? If so, it's good opportunity to extract task runner out like how cycle detector is implemented. |
the task runner is not a system actor. Currently, the task runner has the same type as the Main active actor. The reason for this was to re-use the main actor's dispatcher method |
@albertnetymk could you confirm that you get an assert error when popping an actor from the scheduler? I have tested this on Mac and Linux and that is not the case running vagrant. In my case, there seems to be a data race that sets the number of Working on it, but would like to confirm that there's some consistency between platforms. |
Sometimes this shows: I used |
ok, thanks! I have never seen than one yet, but I'll keep it in mind. |
There seems to be a concurrency / parallelism issue when running the test
async_foreach
andasync_force_gc
. The consequence of this issue is a deadlock of the program.The text was updated successfully, but these errors were encountered: