-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[browser][MT] use portable timer #94180
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
[browser][MT] use portable timer #94180
Conversation
|
Tagging subscribers to 'arch-wasm': @lewing Issue Detailsnull
|
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
This looks like timers will only ever run on the main thread, is that a problem? I don't recall whether timers work that way on other platforms |
We discussed this elsewhere, portable timer in MT will create dedicated thread. ST will stay using |
TimerQueueST implementation relies onsetTimeout(which deadlocks in MT)TimerQueuefrom MT+ST to ST only.