Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TASK_$SET_RESULT                  Domain/OS                   TASK_$SET_RESULT


NAME
     task_$set_result - change the completion status and output value

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/task.h>

     void task_$set_result(
          status_$t completion_status,
          long output_value,
          status_$t *status)

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/task.ins.pas';

     procedure task_$set_result(
          in completion_status: status_$t;
          in output_value: integer32;
          out status: status_$t);

DESCRIPTION
     Task_$set_result sets the completion status and output value of the cal-
     ling process to completion_status and output_value, respectively.  It may
     be called only by a task created with a completion eventcount.

     completion_status
          The completion status for the calling task.

     output_value
          The output value for the calling task.

     status
          The completion status of task_$set_result.

NOTES
     The completion status and output value of a task are reported by
     task_$release when the task is terminated.

SEE ALSO
     task_$create, task_$get_handle, task_$release.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026