/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* This function is not used right now, but is left as a reference. *IfyoueverneedtogetthefiberIDfromthecurrentlyrunningfiber, *thisisit.
*/ void* GetMyFiberID() { #ifdefined(_X86_) && !defined(__MINGW32__) void* fiberData;
/* A pointer to our tib entry is found at FS:[18] *Atoffset10histhefiberDatapointer.Thecontextofthe *fiberisstoredinthere.
*/
__asm {
mov EDX, FS:[18h]
mov EAX, DWORD PTR [EDX+10h]
mov [fiberData], EAX
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.