assign none to COM thread model

Discussion in 'C Programming' started by George2, Apr 11, 2008.

  1. George2

    George2

    Joined:
    Feb 12, 2008
    Messages:
    108
    Likes Received:
    0
    Hello everyone,


    As mentioned in the book ATL Internals, when assign none to COM thread model,

    --------------------
    If there is no ThreadingModel given in the registry, COM will assume a legacy single-threaded class and access the class object from the process's first STA, creating a new STA is necessary. This protects objects from having to synchronize access to global, static, or instance data.
    --------------------

    I do not understand why "This protects objects from having to synchronize access to global, static, or instance data"? Any ideas?


    thanks in advance,
    George
     
    George2, Apr 11, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Freeman
    Replies:
    8
    Views:
    8,394
    tcena9
    Feb 16, 2011
  2. Daniel Crespo
    Replies:
    5
    Views:
    566
    Amaury
    Nov 13, 2005
  3. alf
    Replies:
    9
    Views:
    649
  4. Gerald Britton

    <var> is None vs. <var> == None

    Gerald Britton, Jan 23, 2009, in forum: Python
    Replies:
    7
    Views:
    426
    Steve Holden
    Jan 24, 2009
  5. Steve Holden

    Re: <var> is None vs. <var> == None

    Steve Holden, Jan 23, 2009, in forum: Python
    Replies:
    9
    Views:
    437
    Steve Holden
    Jan 26, 2009
  6. mk

    is None or == None ?

    mk, Nov 6, 2009, in forum: Python
    Replies:
    42
    Views:
    1,265
  7. David Freeman
    Replies:
    5
    Views:
    415
    Nay Myo Aung
    Dec 27, 2004
  8. length power
    Replies:
    2
    Views:
    264
    Rustom Mody
    Apr 10, 2014
Loading...