<div dir="ltr">Hello,<div><br></div><div>With <span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-size:13px;line-height:1.2em">std</span><span class="" style="font-size:13px;line-height:1.2em;color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,0,0);font-size:13px;line-height:1.2em">async, i</span>f both the std::launch::async and std::launch::deferred flags are set in policy, what exactly does trunk libc++ do? Does it for example check the current load of the system and the number of CPUs to decide at runtime whether to run in a separate thread or whether to lazily defer?<br>
<br>If you could point out the relevant section of code under <a href="https://llvm.org/svn/llvm-project/libcxx/trunk/">https://llvm.org/svn/llvm-project/libcxx/trunk/</a> I'd appreciate it.<br><br>Thanks for your time,<br>
John</div></div>