CompuServe Messages

#Win32s data

    02-Aug-93 23:16:53
Sb: #50365-#Win32s data
Fm: David Connelly 72303,1713
To: Mike Markley [MS] 72420,3517
> Memory allocations under Win32s are always above the 2Gb point. It is not > possible to get memory below this address. The recommended solution is to use > the low bit as a mark bit. You can use the GetSystemInfo() API to determine > the upper and lower limits of application address space. Unfortunately, we already use the bottom two bits to represent type information. Oh well, it only means I will have to have two GC scanning loops: one for Windows NT where the top mark bit will be set, and another for Windows 3.1 where the top bit will be clear when marked. Probably not that serious after all. By the way, do you know if using TLS (thread local storage) would be a way to provide separate instance data for a DLL under Win32s? Theoretically, it seems like it should work. Thanks, David There is 1 Reply.