Skip to content

INVALID_THREAD is not a portable constant #2683

@graydon

Description

@graydon

in lock_and_signal.cpp, there's a made-up looking constant for the invalid pthread. This is not actually the right thing to do. There is no by-spec invalid pthread value. you have to use a separate flag and uninitialized memory or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions