似乎他们确实实现了一些C11线程支持,但没有提供threads.h。
//Such flags can be removed. If building with MSVC, build with /std:c11. #error"BoringSSL must be built in C11 mode or higher." #endif #include<stdalign.h> #endif #ifdefined(OPENSSL_THREADS) && \ Expand All@@ -160,9 +149,8 @@ ...
When a small struct is loaded into a register, we can optimize field accesses to extract the correct bits from the register instead of accessing it through memory. Historically in MSVC, this optimization has been limited to memory accesses within the same basic block. We are now able to per...
voidassign_work(){intslot =0;intmy_slot;constintmax_slot =1'000'000;#pragmaomp parallel private(my_slot)while(slot < max_slot) {// Get the current value of slot and update it.// Note that all threads are going through the// slots in parallel#pragmaomp atomic capture{ my_slot = ...
Sorry if it's a known issue, but the similar threads I could find didn't solve my problem. Member retep998commentedJul 5, 2017 Your Windows SDK installation is broken and is missinguserenv.lib. Please repair your Windows SDK installation, or reinstall it. ...