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

fix: shared queue requires aligned buffer #2816

Merged
merged 9 commits into from
Aug 26, 2019
Merged

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Aug 25, 2019

This PR fixes problem described in #2814, namely: shared_queue requires buffers that are aligned to 4-bytes so that dispatch_minimal can work (it uses Int32Array, which requires that byteOffset of underlying buffer is a multiple of 4)

CC @ry

This was referenced Aug 25, 2019
js/dispatch_json.ts Outdated Show resolved Hide resolved
js/dispatch_json.ts Outdated Show resolved Hide resolved
cli/ops/dispatch_json.rs Outdated Show resolved Hide resolved
js/dispatch_json.ts Outdated Show resolved Hide resolved
@ry ry requested a review from piscisaureus August 25, 2019 17:35
Copy link
Member

@piscisaureus piscisaureus left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM

@ry ry merged commit 017f88e into denoland:master Aug 26, 2019
@bartlomieju bartlomieju deleted the shared_queue branch August 26, 2019 11:53
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.

4 participants