| 69 | static bool background_thread_enabled_at_fork; |
| 70 | |
| 71 | static void |
| 72 | background_thread_info_init(tsdn_t *tsdn, background_thread_info_t *info) { |
| 73 | background_thread_wakeup_time_set(tsdn, info, 0); |
| 74 | info->npages_to_purge_new = 0; |
| 75 | if (config_stats) { |
| 76 | info->tot_n_runs = 0; |
| 77 | nstime_init(&info->tot_sleep_time, 0); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | static inline bool |
| 82 | set_current_thread_affinity(int cpu) { |
no test coverage detected