[wasm] Throw an exception in some blocking operations in non-threaded mode. (#19363)
commit4f6b3f30f048632a763bbd552b3c0c4dbc7af7e0
authorZoltan Varga <vargaz@gmail.com>
Mon, 30 Mar 2020 12:36:22 +0000 (30 08:36 -0400)
committerGitHub <noreply@github.com>
Mon, 30 Mar 2020 12:36:22 +0000 (30 08:36 -0400)
treeb139642b05feae3928c6faa74a76d1c8a30fa30e
parent771fbddefa2340908d970b0dce552c6a0d364fe9
[wasm] Throw an exception in some blocking operations in non-threaded mode. (#19363)

* [wasm] Throw an exception from Monitor.Wait () in non-threaded mode.

* [wasm] Throw an exception when waiting for unsignalled events in non-threaded mode.
mono/metadata/monitor.c
mono/metadata/threads.c
mono/metadata/w32handle.c
mono/metadata/w32handle.h