This is mostly hypothetical - I'm trying to figure something out.

I have a C API that I am working with that has iterator calls that
invoke 
a callback function.  I would like to invoke an (Un)icon call
corresponding
to each invocation of the callback function.  The call to Icon code does

not have to occur synchronously.  Presumably I would load and execute
the C code using stubs built into a library and using 
  loadfunc(libfile,libfunc)

The most straightforward way that I can think of to do this is to have 
an event monitor [Icon Technical Report 93-21] receive an artificial
event generated by 
  event(code, value, recipient) [Section 5.4 of ITR 93-21]
and queue the event till the C code has returned and the invoker of the
C code is ready to de-queue and process the results.

Is there a simpler or better way to do this?


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to