STA owner thread blocking issue
Hello everyone,
When making outgoing calls to other apartment in STA, the owner thread of
STA is not blocked and continue to do message pump, it is the RPC thread
(which is responsible for sending marshalled result to destination apartment)
is blocked? Is my understanding correct?
thanks in advance,
George
Re: STA owner thread blocking issue
It's hard to tell how COM runtime is implemented, but I guess it should be blocked.
Re: STA owner thread blocking issue
Thanks Krishnaa!
"it" you mean STA owner thread or RPC communication thread is blocked? Here is a good article covers this topic, and I just want to make sure here my understanding is correct. :-)
Share here, see Single-Threaded Apartments (STA) section.
http://msdn.microsoft.com/en-us/library/ms809311.aspx
Quote:
Originally Posted by Krishnaa
It's hard to tell how COM runtime is implemented, but I guess it should be blocked.
regards,
George