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

Jake Egan via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 27 07:21:41 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.
----------------
jakeegan wrote:

This comment isn't needed here
```suggestion

```

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


More information about the libcxx-commits mailing list