[libc-commits] [libc] [WIP] implement recursive mutex and deadlock detection (PR #133258)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 27 07:54:12 PDT 2025


lntue wrote:

> Hi,
> 
> @michaelrj-google @lntue
> 
> I cannot make this work easily. We have to establish a cyclic dependency if we want to use the identifier library in fullbuild. Is it possible to separate the thread attribute and thread implementation? Could you take a look at this when you have bandwidth.

Look like ThreadAttributes and many common enums and typedefs in `thread.h` can be factored out to their own independent headers to be shared and avoid circular dependency.

https://github.com/llvm/llvm-project/pull/133258


More information about the libc-commits mailing list