[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Millisecond Timing in MACL...
- To: waander@cs.UMD.EDU
- Subject: Millisecond Timing in MACL...
- From: Andrew L. M. Shalit <alms>
- Date: Mon, 18 Feb 91 11:12:38 -0500
- Cc: info-macl
- In-reply-to: Bill Andersen's message of Sun, 17 Feb 91 23:21:07 -0500 <9102180421.AA05340@flubber.cs.UMD.EDU>
Date: Sun, 17 Feb 91 23:21:07 -0500
From: waander@cs.UMD.EDU (Bill Andersen)
Is there an easy way to bypass the event handling mechanism in MACL
for getting responses from a user? I'm writing some code to perform
psychology experiments and the 1 tick (16.67 ms) granularity of the
event system is not going to do the trick. Please, someone save me
from having to do some real C hacking or (God help me) assembler!!!
I want to monitor both mouse clicks and keyboard responses. Thanks
What makes you think the event system has a 1 tick granularity?
Granted, that's the fastest rate at which EVENT-DISPATCH will
automatically be called by the MACL preemption mechanism. But,
your program is free to sit in a loop and call EVENT-DISPATCH as
frequently as it likes.