CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    George2 is offline Elite Member Power Poster
    Join Date
    Oct 2002
    Posts
    4,468

    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

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: STA owner thread blocking issue

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

  3. #3
    George2 is offline Elite Member Power Poster
    Join Date
    Oct 2002
    Posts
    4,468

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured