Restrict uv_default_loop() to main thread

This commit is contained in:
SChernykh
2021-08-25 12:17:14 +02:00
parent dbf18c34a4
commit d8efb27374
8 changed files with 72 additions and 38 deletions

View File

@@ -115,6 +115,7 @@ private:
};
extern BackgroundJobTracker bkg_jobs_tracker;
extern thread_local bool is_main_thread;
} // namespace p2pool