code: purgatorio

ref: bd6c2aad586814b091ce5aca9d41cf2c51adb37b
dir: /module/grid/demo/block.m/

View raw version
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;
};