xref: /inferno-os/module/styxflush.m (revision b43c1ca5eb5fc65b93ae935a568432712797b049)
1*b43c1ca5SCharles.ForsythStyxflush: module {
2*b43c1ca5SCharles.Forsyth	PATH: con "/dis/lib/styxflush.dis";
3*b43c1ca5SCharles.Forsyth	Einterrupted: con "interrupted";
4*b43c1ca5SCharles.Forsyth	init: fn();
5*b43c1ca5SCharles.Forsyth	tmsg: fn(m: ref Styx->Tmsg, flushc: chan of (int, chan of int), reply: chan of ref Styx->Rmsg): (int, ref Styx->Rmsg);
6*b43c1ca5SCharles.Forsyth	rmsg: fn(m: ref Styx->Rmsg): int;
7*b43c1ca5SCharles.Forsyth};
8