FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

wasi: fix poll_oneoff memory interface by cjihrig · Pull Request #33250 · nodejs/node · GitHub

/ node Public

wasi: fix poll_oneoff memory interface - #33250

Closed
cjihrig wants to merge 1 commit into
nodejs:masterfrom
cjihrig:wasi-poll-mem
Closed

wasi: fix poll_oneoff memory interface#33250
cjihrig wants to merge 1 commit into
nodejs:masterfrom
cjihrig:wasi-poll-mem

Conversation

cjihrig commented May 5, 2020

Copy link
Copy Markdown
Contributor

The WASM memory interfacing logic was wrong (particularly around
the size of __wasi_subscription_t). This commit fixes the logic.

(poll_oneoff() is still unimplemented in uvwasi. I tested this with a local development implementation of poll_oneoff(). The implementation worked, but native poll() doesn't work well cross platform, so I'm currently trying to rewrite it using libuv uv_poll_ts.)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

The WASM memory interfacing logic was wrong (particularly around
the size of __wasi_subscription_t). This commit fixes the logic.
nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. wasi Issues and PRs related to the WebAssembly System Interface. labels May 5, 2020

nodejs-github-bot commented May 7, 2020
edited by cjihrig
Loading

Copy link
Copy Markdown
Collaborator

cjihrig commented May 7, 2020

Copy link
Copy Markdown
Contributor Author

ping @nodejs/wasi this needs one more sign off in order to land.

addaleax added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. review wanted PRs that need reviews. labels May 7, 2020

addaleax commented May 8, 2020

Copy link
Copy Markdown
Member

Landed in bcdbd57

addaleax pushed a commit that referenced this pull request May 8, 2020
The WASM memory interfacing logic was wrong (particularly around
the size of __wasi_subscription_t). This commit fixes the logic.

PR-URL: #33250
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
addaleax closed this May 8, 2020
addaleax removed author ready PRs that have at least one approval, no outstanding review comments, and a CI started. review wanted PRs that need reviews. labels May 8, 2020
cjihrig deleted the wasi-poll-mem branch May 8, 2020 14:31
codebytere pushed a commit that referenced this pull request May 11, 2020
The WASM memory interfacing logic was wrong (particularly around
the size of __wasi_subscription_t). This commit fixes the logic.

PR-URL: #33250
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
codebytere mentioned this pull request May 18, 2020
codebytere pushed a commit that referenced this pull request Jun 7, 2020
The WASM memory interfacing logic was wrong (particularly around
the size of __wasi_subscription_t). This commit fixes the logic.

PR-URL: #33250
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
codebytere mentioned this pull request Jun 9, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. wasi Issues and PRs related to the WebAssembly System Interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL