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

Tracking Issue for WebAssembly atomic wait and notify intrinsics #111194

Closed
2 tasks
Amanieu opened this issue May 4, 2023 · 1 comment
Closed
2 tasks

Tracking Issue for WebAssembly atomic wait and notify intrinsics #111194

Amanieu opened this issue May 4, 2023 · 1 comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@Amanieu
Copy link
Member

Amanieu commented May 4, 2023

Feature gate: #![feature(stdarch_wasm_atomic_wait)]

This is a tracking issue for WebAssmbly intrinsics for the memory.atomic.{wait32,wait64,notify} instructions.

Public API

// core::arch::wasm32

unsafe fn memory_atomic_wait32(ptr: *mut i32, expression: i32, timeout_ns: i64) -> i32;
unsafe fn memory_atomic_wait64(ptr: *mut i64, expression: i64, timeout_ns: i64) -> i32;
unsafe fn memory_atomic_notify(ptr: *mut i32, waiters: u32) -> u32;

Steps / History

  • Final comment period (FCP)1
  • Stabilization PR

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

@Amanieu Amanieu added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. labels May 4, 2023
@Amanieu
Copy link
Member Author

Amanieu commented May 4, 2023

It seems we already have a tracking issue at #77839.

@Amanieu Amanieu closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant