On Mon, 15 Oct 2012 13:50:01 -0700, Richard Reeve wrote:

Has anyone ever heard of a callback as it is related to the IBM i?

Callbacks are procedures that are executed when something happens. For
instance, it's common in some environments to specify a callback
procedure to execute when a timer expires, or when a UI control grabs or
looses focus.

You ordinarily specify a procedure pointer to register or subscribe a
callback procedure to the particular event. That makes it possible for
the operating system or controlling program to execute any properly
registered procedure.

I've just been working with the CEERTX API. You specify a procedure
pointer when you call it, which registers a callback procedure to execute
during abnormal program termination. It can ensure that required clean-up
operations always get performed, even if the program fails unexpectedly.


This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page