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

WASM: Add an internal method to pump the threadpool #38690

Merged
merged 2 commits into from
Jul 2, 2020

Conversation

akoeplinger
Copy link
Member

This can by used by the xharness xunit runner to make sure async tasks are executed.

We also need to tweak how ThreadPoolTaskScheduler handles TaskCreationOptions.LongRunning since the usual mode of starting a new thread doesn't work, instead we treat it like the option wasn't set and queue the task on the threadpool.

akoeplinger added a commit to akoeplinger/xharness that referenced this pull request Jul 2, 2020
premun pushed a commit to dotnet/xharness that referenced this pull request Jul 2, 2020
@akoeplinger akoeplinger merged commit fbd5d66 into dotnet:master Jul 2, 2020
@akoeplinger akoeplinger deleted the wasm-threadpool-pump branch July 2, 2020 12:19
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants