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

[NativeAOT-LLVM] Implement timers on Browser #2505

Open
SingleAccretion opened this issue Feb 2, 2024 · 1 comment
Open

[NativeAOT-LLVM] Implement timers on Browser #2505

SingleAccretion opened this issue Feb 2, 2024 · 1 comment
Labels
area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly)

Comments

@SingleAccretion
Copy link

SingleAccretion commented Feb 2, 2024

#2502 takes the PNSE version for TimerQueue with the expectation that it will be replaced by its functional Browser cousin. It is a matter of deciding where/how to put the little bit of JS that sets the 'native' timer.

Mono reference: sheduling.ts. Point of note: prevent callbacks from executing if the runtime has already exited (via abort or otherwise).

@jkotas jkotas added the area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly) label Feb 8, 2024
@SingleAccretion
Copy link
Author

SingleAccretion commented Mar 1, 2024

#2521 adds the code but doesn't enable the tests because they need async main to work first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly)
Projects
None yet
Development

No branches or pull requests

2 participants