blob: e1cd49d29e60a26c81b62315b3c5cb7adc0c5fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Reports: module {
PATH: con "/dis/alphabet/reports.dis";
Report: adt {
startc: chan of (string, chan of string, chan of int);
enablec: chan of int;
enable: fn(r: self ref Report);
start: fn(r: self ref Report, name: string): chan of string;
add: fn(r: self ref Report, name: string, errorc: chan of string, stopc: chan of int);
};
KILL, PROPAGATE: con 1<<iota;
reportproc: fn(errorc: chan of string, stopc: chan of int, reply: chan of ref Report);
quit: fn(errorc: chan of string);
report: fn(errorc: chan of string, err: string);
newpgrp: fn(stopc: chan of int, flags: int): chan of int;
};
|