mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
src/sysprof: initialize threadpool during startup
That way it doesn't happen as part of document loading.
This commit is contained in:
@ -54,6 +54,9 @@ main (int argc,
|
||||
|
||||
dex_init ();
|
||||
|
||||
/* Setup thread pool scheduler at startup */
|
||||
(void)dex_thread_pool_scheduler_get_default ();
|
||||
|
||||
app = sysprof_application_new ();
|
||||
ret = g_application_run (G_APPLICATION (app), argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user