[PATCH] D39038: Mark lld/test/ELF as flaky.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 20 09:50:42 PDT 2017
Michael Spencer <bigcheesegs at gmail.com> writes:
> On Thu, Oct 19, 2017 at 7:58 PM, Rafael Avila de Espindola <
> rafael.espindola at gmail.com> wrote:
>
>> Michael, what is the correct way to handle std::thread's constructor
>> failing when exceptions are disabled?
>>
>> Cheers,
>> Rafael
>>
>
> There isn't a way. I checked both libc++ and libstdc++ and they both call
> abort if creating a thread fails with exceptions disabled. I wonder if it's
> worth adding a way to handle this to the std.
>
> As for now, if we want to handle this case we'll need our own thread
> creation mechanism.
Interesting, so this is not the issue that we are hitting. Taking
another look.
Thanks,
Rafael
More information about the llvm-commits
mailing list