79469189

Date: 2025-02-26 09:37:33
Score: 2.5
Natty:
Report link

Specifically in regards to Android. The OpenXR sample code in https://github.com/meta-quest/Meta-OpenXR-SDK uses gettid to get the thread id before passing it to xrSetAndroidApplicationThreadKHR. As another example, in ovr_sdk, the tid is passed to vrapi_SetPerfThread.

So it's accurate to use gettid on Android

Reasons:
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Robert Blair Aldridge