[wasm] Throw an exception when trying to start a thread instead of asserting. (#34347)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 1 Apr 2020 19:13:10 +0000 (15:13 -0400)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2020 19:13:10 +0000 (15:13 -0400)
commit15abeaa93110f0d06b741658ba47e75d7584dd9e
tree90a1a11bf1f2adcf552cf6073744eeb19c366d53
parent796dc8e4ff0cae3b0fc68d9a2c42d3206e558dc6
[wasm] Throw an exception when trying to start a thread instead of asserting. (#34347)

<!--
Thank you for your Pull Request!

If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.

Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
-->

Co-authored-by: vargaz <vargaz@users.noreply.github.com>
src/mono/mono/metadata/threads.c