gtpc2mi5C/C++ Language Support User's Guide

TO2_taskDispatch-Dispatch a TPF Collection Support Task

This function is an internal application programming interface (API) that allows TPF collection support (TPFCS) to dispatch requests to the TPF system and receive control back at a later time.

Note:
This function must not be used by application programs.

Format

#include <c$to2.h>
void  TO2_taskDispatch (TO2_ENV_PTR  env_ptr,
                        void        *task);

env_ptr
The pointer to the environment as returned by the TO2_createEnv function.

task
The pointer to a storage area that contains a task.

Normal Return

Void.

Error Return

Not applicable.

Programming Considerations

None.

Examples

The following example activates the task indicated.

#include <c$to2.h>             /* Needed for TO2 API functions    */
 
TO2_ENV_PTR  env_ptr;          /* Pointer to TO2 environment      */
void         *task;

  ·
  ·
  ·
TO2_taskDispatch(env_ptr, task);

Related Information

None.