CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    26

    Question How to increase Thread local storage limit ?

    My problem is my product run naisly (with out failed)in windows 2000 .
    because windows 2000 supports more than 2000 slots

    but in Win NT faild because WinNT supports only 64 slots per process

    please give me clear idea on this (OS slots differences and how to achive?)

  2. #2
    Join Date
    Feb 2002
    Location
    Krispl, Austria
    Posts
    197

    Re: How to increase Thread local storage limit ?

    Thread local storage is implemented by kernel32.dll so you're limited by what the OS can provide.
    So you must either upgrade the OS to 2000 or higher or create an alternative to TLS yourself.
    Requests such as
    "I need to write an new language compiler by next week, I have teach yourself c++ in 21 days, can someone give me example code?" will be ignored.

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