cpp-io2d/P0267_RefImpl

ubuntu: Idle program/window (using Cairo) uses up 100% CPU!

mprostock opened this issue · 0 comments

running the OSM Map example on ubuntu opens a window with the example map. While the window is open the program uses up 100% CPU on the core it is running on.
This seems to be due to this loop in begin_show():

https://github.com/cpp-io2d/P0267_RefImpl/blob/master/P0267_RefImpl/P0267_RefImpl/cairo/xlib/xio2d_cairo_xlib_output_surfaces.h#L181
This is a complete waste of resources/energy...