Skip to content

API to set thread name seen by htop etc #139

@dktapps

Description

@dktapps

This should be doable using pthread_setname_np.

However, since this is a nonstandard function, it's implemented differently on different platforms. Most notably, it's not possible to set the name of a thread from another thread on macOS.

It's not clear if there may be other cross-platform limitations or factors to consider with this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions