Skip to content

about pthread_setname_np use(a probability bug in musl C) #811

@cpunchline

Description

@cpunchline

the bug make the dlt-daemon coredump;

pthread_create return it should can use the thread IDs;The assignment of thread IDs and the timing issues in thread callback execution; so use pthread_setname_np in thread callback, it should use pthread_self;

dlt-daemon/src/lib/dlt_user.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions