Click to See Complete Forum and Search --> : STA owner thread blocking issue


George2
August 17th, 2008, 09:21 PM
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

Krishnaa
August 19th, 2008, 04:11 AM
It's hard to tell how COM runtime is implemented, but I guess it should be blocked.

George2
August 19th, 2008, 04:17 AM
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

It's hard to tell how COM runtime is implemented, but I guess it should be blocked.


regards,
George