Greg Bennett wrote on Tue, Jan 20, 2009 at 08:23:36PM -0500: > Good evening all. I am trying to learn how OpenGL operates via cl-opengl > and > cmucl-19e. While I can compile the graphics demos and run them, I lose > control of cmcl's > repl. I can certainly type characters into it; there is no eval running > as far as I can see. > Those characters appear to be fed to eval when I kill the graphics > loop/processes.
You definitely want to do an event loop on the REPL fd and the graphics subsystem here, no threads. Whether it's easy to hack up cl-opengl to do that is a different matter but it would be wise on their part to provide a hook for an event loop. The threads in CMUCL won't work reliably as-is, green or not. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <[email protected]> http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/
