Avoid the tag __thread by using local variables