summaryrefslogtreecommitdiff
path: root/module/grid/demo/block.m
blob: a20ab87aede97991fcb44d894687de249b77d7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Block : module
{
	PATH: con "/dis/grid/demo/block.dis";

	init : fn (pathname: string, ep: Exproc);
	slave : fn ();
	writedata : fn (s: string);
	masterinit : fn (noblocks: int);
	reader : fn (noblocks: int, chanout: chan of string, sync: chan of int);
	makefile : fn (block: int, let: string): string;
	err : fn (s: string);
	cleanfiles : fn (delpath: string);
	isin : fn (l: list of string, s: string): int;
};