【threadlocal】
Thread-local data is data whose values are thread specific. To manage thread-local data, just create an instance of local
(or a subclass) and store attributes on it:
The instance’s values will be different for separate threads.
执行结果: