GetCurrentThreadId 打印格式:0x%08lx 头文件:processthreadsapi.h (include Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008 Windows Server 2008 R2, Windows.h) https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthre
/** * Returns the identifier of this process's user. * 返回此进程的用户的标识符. */ Log.e(TAG, "Process.myUid() = " + android.os.Process.myTid()); /** * Returns the identifier of this process, which can be used with * killProcess and sendSignal. * 返回此进程的标识符