Adding a method to get g on Arm64 Signed-off-by: Bin Lu <bin.lu@arm.com>
PiperOrigin-RevId: 291745021
Allows retrieving the goroutine ID for concurrency testing when the race detector is enabled. Updates #1472 PiperOrigin-RevId: 289155308