Communication between child and parent tasks


Once a child task is running, events are used to communicate between the child and its parent. These events can arise automatically, or more usually by explicit program action. They are used to trigger the execution of a callback function in the receiving task. (Note: As with all callbacks in APLX, the actual callback is run in a ŚWE (wait for events) statement).

The automatic events occur when the state of the child task changes. They are as follows (in each case, ŚEV[6] in index origin 1 will contain the unique task ID, as returned by the taskid property):


Topic: APLX Help : Multi-tasking support : Communication between child and parent tasks
[ Previous | Next | Contents | Index ]