diff -r 07c1effb2a31 -r ea9a999b4fc8 application/main.c --- a/application/main.c Sun Dec 07 10:41:04 2025 +0100 +++ b/application/main.c Sun Dec 07 10:51:47 2025 +0100 @@ -213,6 +213,8 @@ static int thr_end = 0; static int thr_started = 0; +static UiThreadpool *threadpool; + int threadfunc(void *data) { printf("thr wait for data...\n"); ui_condvar_wait(cond); @@ -900,6 +902,8 @@ ui_toolbar_add_default("Test4", UI_TOOLBAR_RIGHT); ui_toolbar_add_default("Test5", UI_TOOLBAR_RIGHT); + threadpool = ui_threadpool_create(10); + ui_main(); return (EXIT_SUCCESS);