Remove opt_background_thread_hpa_interval_max_ms

Now that HPA can communicate the time until its deferred work should be done,
this option is not used anymore.
This commit is contained in:
Alex Lapenkou
2021-09-10 17:32:23 -07:00
committed by Alexander Lapenkov
parent 8229cc77c5
commit 6e848a005e
8 changed files with 34 additions and 64 deletions

View File

@@ -77,7 +77,7 @@ wait_until_thread_is_enabled(unsigned arena_id) {
malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
sleeping = background_thread_indefinite_sleep(info);
assert_d_lt(iterations, (int)1e6,
assert_d_lt(iterations, UINT64_C(1000000),
"Waiting for a thread to start for too long");
} while (!sleeping);
}