Bring me the head of Bill Gates!
Wed Sep 24 22:03:00 GMT 2008
Christopher Faylor wrote on 23 September 2008 15:38:
> On Tue, Sep 23, 2008 at 04:57:57PM +1000, Gareth Pearce wrote:
>> price of bread?
> Yeah, I'm missing the context here as well.
<koff> been away with lurgy.
Anyway. The point was..
> Gareth Pearce wrote on 23 September 2008 07:58:
>> Umm, the alternate functions are listed in the topic ... as TlsGetValue
>> and CoGetContextToken ...
Those two functions only give you access to the tiniest fraction of the
stuff that is now hidden behind the nondescript
>>> BYTE Reserved1;
Remember [fs:4] = stack bottom = tls area? That's gone now. Can't access
the exception registration chain at [fs:0] either. All that useful stuff -
last error value, peb pointer, environment - it's all out of bounds now.
Can't look at it in the TEB. Can't get it via the NT api info funcs that
might otherwise have provided another route to the data, because they've been
retired too. And there's no equivalent win32 func for most of it either -
none of the GetThreadXxxxx functions are any help there.
So. How's anyone except MS supposed to write C runtimes, compilers and
support libraries, or posix emulation layers now?
Can't think of a witty .sigline today....
More information about the Cygwin-talk