Re: TlsAlloc limitation in winxp mode

2005-03-18 Thread Francois Gouget
On Fri, 18 Mar 2005, Michael Ost wrote: [...] Thanks. I suspected that was the way to go. Should the TlsAlloc code, or perhaps the thread init code, check on the windows emulation version and allow the right number of slots... 64, 80 or 1088? We try not to make the implementation depend on the emul

Re: TlsAlloc limitation in winxp mode

2005-03-18 Thread Michael Ost
On Fri, 2005-03-18 at 03:30, Alexandre Julliard wrote: > Michael Ost <[EMAIL PROTECTED]> writes: > > > With the emulation mode set to "winxp" I can only TlsAlloc 64 indexes, > > even though the MSDN docs say there should be at least 20 million. > > > > http://msdn.microsoft.com/library/default.as

Re: TlsAlloc limitation in winxp mode

2005-03-18 Thread Alexandre Julliard
Michael Ost <[EMAIL PROTECTED]> writes: > With the emulation mode set to "winxp" I can only TlsAlloc 64 indexes, > even though the MSDN docs say there should be at least 20 million. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/thread_local_storage.asp > > Has

Re: TlsAlloc limitation in winxp mode

2005-03-18 Thread Jon Griffiths
Hi Michael, > With the emulation mode set to "winxp" I can only TlsAlloc 64 > indexes, even though the MSDN docs say there should be at least > 20 million. You're misreading that page, the limits are: Win 2000/2003 & XP - 1088 indexes per process Win Me/98 - 80 indexes per process Win NT

TlsAlloc limitation in winxp mode

2005-03-17 Thread Michael Ost
With the emulation mode set to "winxp" I can only TlsAlloc 64 indexes, even though the MSDN docs say there should be at least 20 million. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/thread_local_storage.asp Has anyone done any work on this? Any workaround/hackaro