The first commit reproduces #261:
/Users/runner/work/libmultiprocess/libmultiprocess/src/mp/util.cpp:84:25: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
84 | pthread_threadid_np(NULL, &tid);
| ^~~~
| nullptr
2 warnings generated.
Suppressed 1 warnings (1 in non-user code).
Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
1 warning treated as error
https://github.com/bitcoin-core/libmultiprocess/actions/runs/23348264051/job/67919536711?pr=262
Using clang-tidy in the macOS job increases the runtime from ~1 minute to 2.5 minutes, which shouldn't be a problem.
The second commit fixes it.