shithub: purgatorio

ref: f8935b5778397074d41a48205e5c7f87d7b531fe
dir: purgatorio/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;
};