Skip to content

Add getThreadId() method #2234

@dbwiddis

Description

@dbwiddis

We currently have OperatingSystem.getProcessId() method but no equivalent for a thread. We should add one.

Also, helper functions getCurrentProcess() that returns getProcess(getProcessId()) and equivalent for getCurrentThread().

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR welcomeNot maintainer's priority to do but will accept contributions!new featureSomething OSHI doesn't do now but could doup for grabsIssues the maintainers want community help with

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions