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
    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. Advertising

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:
    7,671
    tcena9
    Feb 16, 2011
  2. length power
    Replies:
    2
    Views:
    103
    Rustom Mody
    Apr 10, 2014
  3. Skip Montanaro
    Replies:
    0
    Views:
    70
    Skip Montanaro
    Apr 10, 2014
  4. Johannes Schneider

    Re: why i have the output of [None, None, None]

    Johannes Schneider, Apr 10, 2014, in forum: Python
    Replies:
    0
    Views:
    61
    Johannes Schneider
    Apr 10, 2014
  5. Terry Reedy
    Replies:
    0
    Views:
    67
    Terry Reedy
    Apr 10, 2014
Loading...

Share This Page