dotnet/runtime

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

Open

#43.093 aberto em 6 de out. de 2020

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C# (5.445 forks)batch import
area-VM-threading-monogood first issuehelp wantedincrease-code-coverageos-windowsruntime-monotest-enhancement

Métricas do repositório

Stars
 (17.886 stars)
Métricas de merge de PR
 (Mesclagem média 12d 11h) (661 fundiu PRs em 30d)

Description

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.

Guia do colaborador