« Return to Thread: Callbacks, simplified.

Re: Callbacks, simplified.

by Andreas Raab :: Rate this Message:

Reply to Author | View in Thread

tim Rowledge wrote:
> How are you proposing to deal with the callback at the higher levels? Is
> the plugin going to be allowed to cons up a message and 'send' it? Or.....?

This should be up to the plugin. I can't think of a good interface right
now given that we don't have enough examples to look at and learn from.
Personally, I'm just signaling a semaphore before the callback and have
the image "pull up" the arguments via primitives. This avoids the need
to do too much at the primitive level.

Cheers,
   - Andreas

 « Return to Thread: Callbacks, simplified.