26.12.2013 Aufrufe

Prozesskommunikation

Prozesskommunikation

Prozesskommunikation

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

File interface in Sun XDR (2)<br />

struct Data {<br />

Length length;<br />

char buffer[MAX];<br />

};<br />

struct writeargs {<br />

FileIdentifier f;<br />

FilePointer position;<br />

Data data;<br />

};<br />

program FILEREADWRITE {<br />

version VERSION {<br />

void WRITE(writeargs) =1;<br />

Data READ(readargs) =2;<br />

} = 2; //version number<br />

//=> write_2<br />

//=> read_2<br />

Coulouris<br />

Dollimore<br />

Kindberg<br />

struct readargs {<br />

FileIdentifier f;<br />

FilePointer position;<br />

Length length;<br />

};<br />

} = 9999; //program number<br />

Betriebssysteme WS 2012, ProzessKommVS 48<br />

Hermann Härtig, TU Dresden

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!