[llvm] Enable using threads on z/OS (PR #171847)
Sean Perry via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 8 07:23:16 PST 2026
================
@@ -133,7 +139,7 @@ thread::thread(std::optional<unsigned> StackSizeInBytes, Function &&f,
Thread = llvm_execute_on_thread_impl(ThreadProxy<CalleeTuple>, Callee.get(),
StackSizeInBytes);
- if (Thread != native_handle_type())
+ if (!is_null())
----------------
perry-ca wrote:
sure. I've made that change.
https://github.com/llvm/llvm-project/pull/171847
More information about the llvm-commits
mailing list