GetThreadHandle is a
THandle function that implements platform-specific access to return the handle for the thread in AThread. On the Linux platform, GetThreadHandle returns the ThreadID member in AThread. For the Windows platform, GetThreadHandle returns the Handle member for AThread.