14

SSN/77.0

Starlink Project
Starlink System Note 77.0

A.J. Chipperfield

16 August 2001

Copyright © 2000 Council for the Central Laboratory of the Research Councils


ADAM
The Control Subsystem



Abstract

This document describes the way an ADAM task interacts with the ADAM Message System (AMS). It is intended for system programmers.

The reader is expected to be familiar with the Starlink Software Environment documented in SG/4, SUN/144 and SUN/134

Contents

1 Introduction
2 The ADAM Main Routine
3 DTASK_APPLIC
4 Receiving Control Messages
5 Message Types
6 Handling GSOCC Messages
 6.1 GET Context
 6.2 SET Context
 6.3 OBEY and CANCEL Context
  6.3.1 OBEY
  6.3.2 CANCEL
 6.4 CONTROL Context
  6.4.1 DEFAULT
  6.4.2 SETENV
  6.4.3 PAR_RESET
7 Messages from Subsidiary Tasks
8 Re-scheduling
9 Synchronisation
10 Use of the TASK Library
A Typical A-task Message Sequence