>>>>> "c" == chromatic <chroma...@wgz.org> writes:c> On Tue, 2004-05-11 at 10:24, Dan Sugalski wrote:
>> >I'm also curious how to write an interface to an existing event system.
>> >Being able to write it all in PASM is a bonus.
>> I don't think it can be all-PASM, except maybe (and maybe not...)
>> with a separate thread for the existing event source. To do it in all
>> pasm means calling back into parrot from interrupt level, which isn't
>> really doable, or have a thread just waiting on events from the
>> alternate event system to post into the parrot event queue.
c> Another approach may be to expose the PollEvent and WaitEvent functions
i don't think exposing them is a good idea as they can be broken by user
my solution works with any combination of events and groups.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.