This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients amaury.forgeotdarc, eckhardt, kristjan.jonsson, loewis
Date 2009-01-09.20:29:20
SpamBayes Score 0.2052178
Marked as misclassified No
Message-id <1231532961.78.0.364990946665.issue3582@psf.upfronthosting.co.za>
In-reply-to
Content
Windows NT (3.1, and a number of later versions) only support 64 TLS
keys. Starting with Windows 2000, they added another page per thread for
TLS, giving an addition 1024 TLS slots, for a total of 1088 TLS slots.
FWIW, Win 9.x supported 80 TLS slots. See

http://www.nynaeve.net/?p=181
http://msdn.microsoft.com/en-us/library/ms686749.aspx
http://bugs.python.org/file11141/thread_nt.patch

TLS slots are typically considered a scarce resource, so that
programming language implementations typically don't allow applications
direct allocation of TLS slots. Instead, most runtimes I know of will
allocate a single TLS slot for themselves, which then is filled with an
array or a dictionary.
History
Date User Action Args
2009-01-09 20:29:21loewissetrecipients: + loewis, amaury.forgeotdarc, kristjan.jonsson, eckhardt
2009-01-09 20:29:21loewissetmessageid: <1231532961.78.0.364990946665.issue3582@psf.upfronthosting.co.za>
2009-01-09 20:29:21loewislinkissue3582 messages
2009-01-09 20:29:20loewiscreate