[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Event heartbeat.
- To: bhyde@gensym.com (Ben A. Hyde)
- Subject: Re: Event heartbeat.
- From: cartier@math.uqam.ca (Guillaume Cartier)
- Date: Fri, 5 Feb 93 14:17:12 -0500
- Cc: info-mcl@cambridge.apple.com (Macintosh Common Lisp)
<---
| I seem to be unable to get idle events generated any faster than
| about 20/second. I think I've set all the various specials etc.
| that control this. Any suggestions? - ben
--->
You can call EVENT-DISPATCH explicitly from your code to get
faster event dispatching. Programs that are purely event driven
can have toplevel functions like the following, for the fastest
event dispatching possible:
(function
(lambda ()
(loop
(let ((form (get-next-queued-form)))
(when form
(eval form)))
(event-dispatch))))
*********************************************************************
* Guillaume Cartier (514) 844-5294 (maison) *
* L.A.C.I.M. (514) 987-4290 (bureau) *
* Universite du Quebec a Montreal (514) 987-8477 (telecopieur) *
* Montreal, Quebec, Canada cartier@math.uqam.ca (internet) *
*********************************************************************