Use a TLS value to retrieve the current thread.
Use a TLS value to retrieve the current thread.

Change-Id: Iaea97c0f5e10ea59ebf6c623d802f51f87bd4214

treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst