[browser][MT] GC, threadpool and some JS interop improvements (#86759)
authorPavel Savara <pavel.savara@gmail.com>
Mon, 12 Jun 2023 19:43:16 +0000 (21:43 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2023 19:43:16 +0000 (21:43 +0200)
commit6c3a197c4e01bb40c58e7c88370f92acbd53d81c
tree371f197c0e593338c20ab2612dc5d66c97cbd829
parentc6fd07b93c5f68e4989ff607cd061f3af72b0b03
[browser][MT] GC, threadpool and some JS interop improvements (#86759)
45 files changed:
eng/Subsets.props
src/libraries/Common/src/Interop/Browser/Interop.Runtime.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System.Runtime.InteropServices.JavaScript.csproj
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Interop/JavaScriptExports.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSHostImplementation.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSSynchronizationContext.cs
src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/WebWorker.cs [new file with mode: 0644]
src/libraries/System.Runtime.InteropServices.JavaScript/tests/System.Runtime.InteropServices.JavaScript.Legacy.UnitTests/timers.mjs
src/mono/System.Private.CoreLib/src/System/Threading/Thread.Mono.cs
src/mono/System.Private.CoreLib/src/System/Threading/ThreadPool.Browser.Mono.cs
src/mono/mono/metadata/threads.c
src/mono/mono/mini/mini-wasm.c
src/mono/mono/utils/lifo-semaphore.c
src/mono/mono/utils/lifo-semaphore.h
src/mono/mono/utils/mono-threads-wasm.c
src/mono/mono/utils/mono-threads-wasm.h
src/mono/mono/utils/mono-threads.c
src/mono/mono/utils/mono-threads.h
src/mono/sample/wasm/browser-threads-minimal/Program.cs
src/mono/sample/wasm/browser-threads-minimal/WebWorker.cs [new file with mode: 0644]
src/mono/sample/wasm/browser-threads-minimal/main.js
src/mono/wasm/runtime/corebindings.c
src/mono/wasm/runtime/dotnet.d.ts
src/mono/wasm/runtime/driver.c
src/mono/wasm/runtime/es6/dotnet.es6.lib.js
src/mono/wasm/runtime/exports-linker.ts
src/mono/wasm/runtime/gc-handles.ts
src/mono/wasm/runtime/invoke-cs.ts
src/mono/wasm/runtime/invoke-js.ts
src/mono/wasm/runtime/logging.ts
src/mono/wasm/runtime/managed-exports.ts
src/mono/wasm/runtime/net6-legacy/cs-to-js.ts
src/mono/wasm/runtime/net6-legacy/js-to-cs.ts
src/mono/wasm/runtime/net6-legacy/method-binding.ts
src/mono/wasm/runtime/net6-legacy/method-calls.ts
src/mono/wasm/runtime/net6-legacy/strings.ts
src/mono/wasm/runtime/pthreads/shared/index.ts
src/mono/wasm/runtime/pthreads/worker/index.ts
src/mono/wasm/runtime/run.ts
src/mono/wasm/runtime/scheduling.ts
src/mono/wasm/runtime/startup.ts
src/mono/wasm/runtime/types/internal.ts
src/mono/wasm/threads.md
src/mono/wasm/wasm.proj
src/native/libs/System.Native/pal_time.c