> Hi again!
> I'm using Jazz/JEDI under Linux and X11, and JEDI goes blank and unresponsive for several seconds when invoking certain actions, like opening a file, changing workspace, etc.
>
> This is *really* annoying, as those actions are used very often. Does anyone suffer the same problem?
>
> I thought it could have something to do with JEDI being blocked into a C function call, as it is based on Gambit-C, but maybe it is completely unrelated.
Gambit has a complete non-blocking I/O system with which it is possible to do I/O concurrently with other operations. So in principle such pauses could be avoided by careful use of the Gambit I/O functions.
So either
1) The code that does the I/O is written in C and interfaced with the FFI. In that case, the Scheme thread system will not be preemptive.
2) The I/O is done in Scheme, but it is written in a "synchronous" style. In other words, the event loop receives the event to open a file and this triggers the required operations (reading the file, syntax highlighting, etc) and only after all those operations are done is control returned to the event loop. This could be solved by starting a Scheme thread to do the operations, and returning immediately to the event loop.
Marc
--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To view this discussion on the web visit https://groups.google.com/d/msg/jazzscheme/-/4ET6a5wrAREJ.
To post to this group, send email to jazzs...@googlegroups.com.
To unsubscribe from this group, send email to jazzscheme+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jazzscheme?hl=en.
Hi again Andrés,I just pushed some code that seems to fix the menu flicker.As I only have access to Ubuntu at the moment, can you let me know if it's working correctly for you on your ArchLinux.Guillaume
Andrés.--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To view this discussion on the web visit https://groups.google.com/d/msg/jazzscheme/-/Sr55Xxd39Q8J.