dreais / SimpleGui

Library using ncurses to build fast and light GUI, in C.
http://rudreais.com
MIT License
2 stars 0 forks source link

[buffer-actions] thread 1 going faster than thread 2 #14

Open dreais opened 4 years ago

dreais commented 4 years ago

thread 2 (in charge of mouse events) is going slower, which is an issue for the set_active functions. it will prompt the new active window after having printed the window + the box, voiding the effect of the click

suggested: mutex for an access_writing variable + condition if it is on TRUE.

dreais commented 4 years ago

putting this issue on hold for now since the infinite polling event helps. will try to find a better solution later on