wine/dlls/combase
Dmitry Timoshkov b4da140357 combase: When looking up an apartment which has a given creator thread ID use multi-threaded apartment only if the thread doesn't have an apartment-threaded one.
CoIncrementMTAUsage() always creates the MTA if it doesn't already exist,
and mta->tid may accidently match the apt->tid of the apartment-threaded
apartment of the thread.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-06 19:56:59 +02:00
..
tests
apartment.c combase: When looking up an apartment which has a given creator thread ID use multi-threaded apartment only if the thread doesn't have an apartment-threaded one. 2021-08-06 19:56:59 +02:00
combase.c
combase.spec
combase_private.h
dcom.idl
errorinfo.c
hglobalstream.c
irpcss.idl
Makefile.in
malloc.c
marshal.c
roapi.c
rpc.c
string.c
stubmanager.c
usrmarshal.c