8000 Can't set the thread name? · Issue #2 · rohsuton/ThreadPoolHelp · GitHub
[go: up one dir, main page]

Skip to content

Can't set the thread name? #2

@git-syl

Description

@git-syl

ThreadPoolHelp.Builder
.cached()
.name("mythread-name")
.builder()
.execute(new Runnable() {
@OverRide
public void run() {
System.out.println("=====" +Thread.currentThread().getName());

The expected result is::=====mythread-name
The actual result is:=====pool-1-thread-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0