CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Location
    Lindenhurst, NY
    Posts
    867

    Why is CRT divided into Single & Multi-thread versions?

    Why didn't they just make them all multi-thread? The only guess I have is that theres more overhead with the multi-thread version that you can avoid if you know you won't use threads.

  2. #2
    Join Date
    Jun 2001
    Location
    Switzerland
    Posts
    4,443

    Re: Why is CRT divided into Single & Multi-thread versions?

    Quote Originally Posted by Martin O
    Why didn't they just make them all multi-thread? The only guess I have is that theres more overhead with the multi-thread version that you can avoid if you know you won't use threads.
    Bingo! It's the overhead. Which is not small. On a broader level, it's part of the C and C++ phylosophy not to be forced to use things that you don't need.
    Gabriel, CodeGuru moderator

    Forever trusting who we are
    And nothing else matters
    - Metallica

    Learn about the advantages of std::vector.

  3. #3
    Join Date
    May 2002
    Location
    Lindenhurst, NY
    Posts
    867

    Re: Why is CRT divided into Single & Multi-thread versions?

    Thanks

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