Skip to content
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

Skip taskrunner in work-stealing. #180

Merged
merged 1 commit into from
May 31, 2015
Merged

Skip taskrunner in work-stealing. #180

merged 1 commit into from
May 31, 2015

Conversation

albertnetymk
Copy link
Contributor

No description provided.

@@ -399,6 +399,11 @@ static void respond(scheduler_t* sched)

pony_actor_t* actor = pop_global(sched);

if (actor == (pony_actor_t*) this_encore_task) {
actor = pop_global(sched);
push(sched, (pony_actor_t*) this_encore_task);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be a push first? Otherwise, we are delaying the execution of the task runner.

@albertnetymk
Copy link
Contributor Author

Exactly. Should be push_first. I just took the code before the merge without thinking it through. Thanks.

kikofernandez pushed a commit that referenced this pull request May 31, 2015
Skip taskrunner in work-stealing.
@kikofernandez kikofernandez merged commit be0e94b into parapluu:master May 31, 2015
@kikofernandez kikofernandez deleted the fix-merge branch May 31, 2015 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants