thread-local in basic0