Research on crossplatform thread local storage solutions