[PATCH] D39038: Mark lld/test/ELF as flaky.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 19 19:58:37 PDT 2017
Michael, what is the correct way to handle std::thread's constructor
failing when exceptions are disabled?
Cheers,
Rafael
NAKAMURA Takumi via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:
> chapuni added a comment.
>
> I guess the constructor std::thread(F) fails, then its method, detach() crashes.
> If we live with -fno-exceptions, I think we may rewrite Parallel.cpp w/o C++11 std::thread, but with pthreads, to catch failure in pthread_create.
>
> Or, could I increase any resources in ulimit/kernel? I tried idea that I knew.
> I will attempt to find out with -fexceptions which error would raise.
>
> FYI, I am using 36-core (72 logical processors) host.
>
>
> Repository:
> rL LLVM
>
> https://reviews.llvm.org/D39038
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list