diff -r db47e814b4c5 -r f3e2811ecf3a ui/common/threadpool.h --- a/ui/common/threadpool.h Thu Jan 08 18:17:06 2026 +0100 +++ b/ui/common/threadpool.h Sat Jan 10 19:44:10 2026 +0100 @@ -39,6 +39,10 @@ extern "C" { #endif +void uic_init_threads(void); +int uic_mainthread_calls_is_buffered(void); +void uic_add_buffered_mainthread_call(ui_threadfunc func, void *data); + typedef struct UiQueueElm UiQueueElm; typedef struct UiQueue UiQueue;