gcc11.patch 589 B

1234567891011121314
  1. diff --git a/src/tbb/scheduler_common.h b/src/tbb/scheduler_common.h
  2. index ee13dbf9..49052001 100644
  3. --- a/src/tbb/scheduler_common.h
  4. +++ b/src/tbb/scheduler_common.h
  5. @@ -219,7 +219,7 @@ inline void prolonged_pause_impl() {
  6. #endif
  7. inline void prolonged_pause() {
  8. -#if __TBB_WAITPKG_INTRINSICS_PRESENT && (_WIN32 || _WIN64 || __linux__) && (__TBB_x86_32 || __TBB_x86_64)
  9. +#if 0
  10. if (governor::wait_package_enabled()) {
  11. std::uint64_t time_stamp = machine_time_stamp();
  12. // _tpause function directs the processor to enter an implementation-dependent optimized state