Skip to content

[clang-cl] missing __threadid _threadid and __threadhandle in stddef.h #146005

Open
@QianNangong

Description

@QianNangong

MSVC provides two functions and one macro inside ucrt's stddef.h

_ACRTIMP extern unsigned long  __cdecl __threadid(void);
#define _threadid (__threadid())
_ACRTIMP extern uintptr_t __cdecl __threadhandle(void);

However when I choose clang-cl toolset, they are no longer available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions