[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(without-interrupts (with-interrupts ...))

I do not agree that this is an ill-formed notion.


(without-interrupts  ;;don't interrupt until we're ready
  (do () (())        ;;DO-FOREVER
    (if unusual-state (with-interrupts (interact-with-user)))))

WITHOUT-INTERRUPTS says we can't allow interrupts to happen at
indiscriminate points within the form.  However, there may well
be points at which we do know interrupts are OK, and very likely
will be highly desirable.  WITHOUT-INTERRUPTS and WITH-INTERRUPTS,
used together, provide an generalization of polling for interrupts.