Issue |
146005
|
Summary |
[clang-cl] missing `__threadid` `_threadid` and `__threadhandle` in `stddef.h`
|
Labels |
new issue
|
Assignees |
|
Reporter |
QianNangong
|
MSVC provides two functions and one macro inside `ucrt`'s `stddef.h`
```cpp
_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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs