mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +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 ();
|
dex_init ();
|
||||||
|
|
||||||
|
/* Setup thread pool scheduler at startup */
|
||||||
|
(void)dex_thread_pool_scheduler_get_default ();
|
||||||
|
|
||||||
app = sysprof_application_new ();
|
app = sysprof_application_new ();
|
||||||
ret = g_application_run (G_APPLICATION (app), argc, argv);
|
ret = g_application_run (G_APPLICATION (app), argc, argv);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user