Does LVGL need (or can it work with) another event loop?

lv_tick_inc is the only function that has built-in protection (because you would often want to call it from an interrupt handler, etc.). All other functions need manual protection added.

Yes, because in that case, all LVGL code is running on one OS thread.

Yes; if libuv has mutexes already and you do everything through its own APIs, that should be sufficient.

2 Likes