dotnet/runtime

[mono] Implement pinvoke-detach-1.cs tests on Windows

开放

#43,093 创建于 2020年10月6日

 (1 条评论) (0 个反应) (0 位负责人)C# (5,445 个派生)batch import
area-VM-threading-monogood first issuehelp wantedincrease-code-coverageos-windowsruntime-monotest-enhancement

仓库指标

星标
 (17,886 个星标)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

Follow-up task for https://github.com/mono/mono/pull/20435 - the PR introduces a new set of embedding API tests that create foreign threads (threads started by native code, not by the runtime) and calling various Mono APIs in order to execute some managed code, followed by detaching from the runtime and leaving the threads running but not interacting with Mono anymore.

These tests (which on non-Windows use posix threads, mutexes and condition variables) need to be ported to Windows using the Windows APIs instead.

贡献者指南