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

Use a static counter for assigning task IDs #782

Merged
merged 1 commit into from
Apr 1, 2020
Merged

Conversation

phil-opp
Copy link
Owner

@phil-opp phil-opp commented Apr 1, 2020

Deriving the task ID from the heap address of the future does not work for zero-sized futures because they are not backed by a real allocation.

Reported in #768 (comment).

Post update in #783.

Deriving the task ID from the heap address of the future does not work for zero-sized futures because they are not backed by a real allocation.
phil-opp added a commit that referenced this pull request Apr 1, 2020
Updates the post to incorporate the changes from #782.
@phil-opp phil-opp merged commit b862534 into post-12 Apr 1, 2020
@phil-opp phil-opp deleted the fix-task-id branch April 1, 2020 10:53
@phil-opp phil-opp added the relnotes "Release notes" – Notable changes that are rendered on the blog. label Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes "Release notes" – Notable changes that are rendered on the blog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant