I’m learning c and messing around with xcb lib (instead of X11) on a raspberry pi4. The problem is that when implementing the events loop with xcb_poll_for_event instead of xcb_wait_for_event, one core of four is 100% full. What am I doing wrong? And is there any benefit of using wait_for_event (blocking way) instead of xcb_poll_for_event(non blocking)? The goal is to
Tag: xcb
Is XCB ready for production use? Should I use Xlib instead?
If one needs low level access to X11 events, windowing and input without using GTK, QT et al., should one use Xlib or XCB? What are the pros and cons of each? Answer You can use both of them. XCB is simpler to use, has a better response to a multithread environment but lacks documentation, while Xlib is a more