Add threadpool support for webassembly. (#19981)
commitdba7d43c7e38b171a476663ba84fd15ca51cd7f0
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 22 Jun 2020 18:18:16 +0000 (22 14:18 -0400)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 18:18:16 +0000 (22 20:18 +0200)
tree794f2bea107d4735e01166f3d5759ba827317ce9
parent32c3b17e50a476b3d282a186b4766df3d463e224
Add threadpool support for webassembly. (#19981)

Register a JS callback when a work item is queued, the callback will call into the runtime/bcl to execute the work item.

Co-authored-by: vargaz <vargaz@users.noreply.github.com>
mono/mini/mini-wasm.c