saj@chinet.UUCP (Stephen Jacobs) (03/22/88)
I have a program that consists, in part, of an outer, non-critical loop which uses a mouse-button push to tell it to start an inner, time-crit- ical loop. The inner loop tracks the mouse position constantly and looks for button-pushes using vq_mouse(). The outer loop uses evnt_multi() to wait for the button-push. Sometimes the result of the inner loop is to go back to the start of the outer loop, where eventually it's supposed to wait for the button again. My problem is that even if I wait with vq_mouse for the button to be up again, and a few ms more with evnt_timer, control goes right through the evnt_multi. Is this akin to the difficulty of mixing buffered and un-buffered IO? Is this even real? (I've clobbered my own program before, with enev more unusual results). If this is real, is there a way around it? (And if I've f-ed up again, never mind)