[libcxx-commits] [libcxx] [libc++][AIX] Fix force_thread_creation_failure by using RLIMIT_THREADS (PR #188787)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 27 07:55:16 PDT 2026


================
@@ -16,8 +16,8 @@
 // There is no way to limit the number of threads on windows
 // UNSUPPORTED: windows
 
-// AIX, macOS and FreeBSD seem to limit the number of processes, not threads via RLIMIT_NPROC
-// XFAIL: target={{.+}}-aix{{.*}}
+// AIX, macOS and FreeBSD seem to limit the number of processes, not threads via RLIMIT_NPROC.
+// IN AIX RLIMIT_THREADS can be used to limit the threads.
----------------
Himadhith wrote:

But should I move this comment in the code block right above the assert to give a bit more context or should I remove the comment completely?

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


More information about the libcxx-commits mailing list