Sentinel icon indicating copy to clipboard operation
Sentinel copied to clipboard

Thread pools should be created with NamedThreadFactory for identification

Open CodeIngL opened this issue 8 years ago • 1 comments

里面看到了NamedThreadFactory。为了更好区分线程信息,应该

Executors.newScheduledThreadPool(x)

进行修改

new ScheduledThreadPoolExecutor(X, new NamedThreadFactory("stl-${something}"));

CodeIngL avatar Jul 30 '18 08:07 CodeIngL

Yes, the thread pools should be created with NamedThreadFactory for clear identification. We'll fix this. Thanks for your suggestion!

sczyh30 avatar Jul 30 '18 09:07 sczyh30