Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought


SYSCALLS/EC2 - level 2 eventcount manager calls     82/09/29


Include files:

    Fortran:    /sys/ins/ec2.ins.ftn
    Pascal:     /sys/ins/ec2.ins.pas


Procedures and functions:
    ec2_$init (ec)
        Initialize an eventcount. This call should be issued once only, before
        the eventcount is used. (If issued while processes are waiting on the
        eventcount they will not wake-up).

    ec2_$advance (ec, sts)
        Increment the value of ec, and wake-up any waiting processes.

    ec2_$read (ec), value = ...
        Return the current value of the eventcount ec

    ec2_$wait (ec_plist, ec_vlist, necs, sts), ec_index = ...
        Wait for any of ec_plist to reach corresponding ec_vlist.
        There are necs eventcounts, and ec_index tells which was satisfied.
        This function ignores asynchronous faults if inhibited.

    ec2_$wait_svc (ec_plist, ec_vlist, necs, sts), ec_index = ...
        Like ec2_$wait, but returns a non-zero status code if an
        asynchronous fault occurs while inhibited.

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