marcIhm / yabasic

Yabasic - A simple Basic interpreter for Unix and Windows
http://www.yabasic.de
MIT License
90 stars 17 forks source link

automatic redraw under unix is probably not working #64

Closed marcIhm closed 6 hours ago

marcIhm commented 3 weeks ago

Currently this uses two different processes and the behaviour of X11 in these cases seems to be not very well defined; reports are that it does not work at all (see mail). Doing this with seperate threads is probably more stable.

marcIhm commented 6 hours ago

x11 is probably older than the wide-spread use of threads, so co-processes for redrawing should not be a problem, if done right. Added two facilities for internal debugging and a yabasic-program to investigate things; in my opinion it works fine. There is a short span of time, when nobofy listens for events from this window of course, but then the co-process kicks in and works reliable.