Peter Seibel <[EMAIL PROTECTED]> writes:

> 
> Frank Buss wrote:
> 
> > Yes, it is possible, see the code below.
> 
> Cool, thanks.
> 
> > It depends on your applications, but maybe it is better to use an 
> > event loop and a second thread for a computer player or network 
> > connection, because otherwise it is difficult to poll the events for
> > playing with the mouse.
> 
> Yeah; in my app that's not an issue. The board is just for watching.

I believe that the SDL event queue can hold a maximum of 127 events with 
additional events dropped on the floor. So not processing any SDL events should 
not have an adverse effect on resource usage. And as Frank's code shows, if you 
do not process SDL events then you don't need the SDL:WITH-EVENTS macro.

- Luke

_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to