[Refactoring] LocalThreadStorage substituido