$snconn($host) get $oind "proc_poll $host $sqconn %E {%V}"
proc_poll being the procedure that processes the results. I fire off one of
these for every host then as the results arrive fire off the next poll for
that host (after the other processing).
I don't know anything about how these callbacks get called so my main question
is - can I be sure that whilst processing one callback I will never be asked
to process another, which would cause my output to be interleaved? Another
question is whether there is a limit (other than memory) to how many
outstanding asynchronous requests I can have (I assume not since presumably
there are no file descriptors or such like?)? Finally, a minor point, in
order to keep TCL happy I need to pass the correct number of arguments but
sometimes %V (possibly others?) is empty, this is why I have {%V} above, it
would be nice to substitute, say {}, instead of an empty string if this didn't
break anything else.
Thanks,
Eddie
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.