Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/tools
diff options
context:
space:
mode:
authorAleksey Kliger (λgeek) <alklig@microsoft.com>2019-12-13 23:32:06 +0300
committerGitHub <noreply@github.com>2019-12-13 23:32:06 +0300
commitd0f27ce4feb07bdcf7958272e6e943eb2a2f0f7b (patch)
tree3807815bd9ec50b8fc7baddb68d6e841fa2b0f86 /mcs/tools
parentea50ca48ba6194daab46f45346567a733b602585 (diff)
[cominterop] Attach to runtime from IUnknown and IDispatch methods (#18175)
* [cominterop][test] Calling QueryInterface from an unattached thread asserts If we pass a managed COM object to native code and the native code calls one of the IUnknown methods, we assert because the thread is not attached but we want to enter GC Unsafe mode. * [cominterop] Attach to runtime from IUnkown and IDispatch methods If the COM objects for a managed object is passed to a thread that hasn't interacted with Mono before, we need to attach before doing GC thread state transitions. Addresses https://github.com/mono/mono/issues/18137 * [test] Call managed method through COM wrapper from unattached thread This works, but I don't think we had a test previously. Call a managed method via a COM interface from a thread that is not attached to the runtime, to ensure that it is attached.
Diffstat (limited to 'mcs/tools')
0 files changed, 0 insertions, 0 deletions