Dan Kegel <d...@kegel.com> writes: > Posting a working if suboptimal implementation > is a clear way of framing questions sometimes, > but I guess when I do that it should be to wine-devel.
Questions and RFCs should go to wine-devel. Sending to wine-patches means "I believe this is good enough to be committed". > Maybe what we want is a safe implementation of RtlGetNtGlobalFlags(), one > that returns zero if it's not safe to call NtCurrentTeb(). > We could store the global flags in a plain old global variable, > and copy it in to the peb but never reference it there, I suppose. > Would that be clean enough for you? Or is that still too kludgy? There's no reason that RtlGetNtGlobalFlags would need the TEB at all. -- Alexandre Julliard julli...@winehq.org