Feb2001 hugs98 on MacOS

Hans Aberg haberg@matematik.su.se
Thu, 1 Mar 2001 12:54:59 +0100


At 15:35 -0700 2001/02/28, Alastair Reid wrote:
>I'm yet to hear of a reason why AppleEvents cannot be dealt with using one of
>these approaches (i.e., without requiring substantial internal changes to
>Hugs).

One difference between the low events and the high-level AppleEvent events
is that the former are put in a queue, and the latter are interrupts. Thus
low-level events wait for somebody bothering about them.

But with the AppleEvent, one ends up with a function that is executing.
This function must then decide whether it is an appropriate moment to
engage the Hugs kernel or not. If it is an inappropriate moment, it must
decide what to do: Either prepare the kernel appropriately, skip it, or
whatever.

  Hans Aberg