At 11:29 PM -0400 5/26/04, Gordon Henriksen wrote:
On May 24, 2004, at 15.20, Dan Sugalski wrote:

Event Ops
=========

The opcodes in this section are a combination of event requests and event handling ops. It doesn't include the IO ops--those are separate.

Most of the event request ops have two forms, one of which takes a callback PMC and user data PMC.

   checkevent

Explicitly check to see if there are any events pending in the event queue and, if so process one.

So, for GUI events, could calling into parrot and doing the following from the OS event handler work to synchronously dispatch an event?


        ... parrot-ify a mouse-moved event into $P5 ...
        post $P5
        checkevent

Hm. No.

For that I think you'd want:

     post $P5
     wait $P5

--
                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to