apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: [PATCH] WIN32 allow destructors for apr_threadkey_private
Date Mon, 21 Aug 2006 15:23:43 GMT
Garrett Rooney wrote:
> On 8/21/06, Mladen Turk <mturk@apache.org> wrote:
> One comment, where did the number 1088 come from?  Should probably
> replace it with a #define or something in any event.

1088 comes from the MSDN:

The constant TLS_MINIMUM_AVAILABLE defines the minimum number of TLS 
indexes available in each process. This minimum is guaranteed to be at 
least 64 for all systems. The limits are as follows:

System Limit
Windows Server 2003, Windows XP, and Windows 2000 1088 indexes per process
Windows Me/98 80 indexes per process
Windows NT and Windows 95 64 indexes per process


View raw message