send seems to work, the stress test has weird unmotivated lines originally
This commit is contained in:
@@ -18,12 +18,13 @@ void main() {
|
||||
char msg[] = "REPLY: AA\n";
|
||||
msg[7] += rbuf[0] + sbuf[8193];
|
||||
msg[8] += 4 + ppid;
|
||||
write(0, msg, 10,0, ppid);
|
||||
write(0, msg, 10);
|
||||
} else { // parent
|
||||
int X = recv(rbuf, 8193);
|
||||
receive(rbuf, 8193);
|
||||
rbuf[0] = rbuf[0] + rbuf[8192];
|
||||
rbuf[8193] = 7;
|
||||
reply(rbuf, 8193);
|
||||
reply(X,rbuf, 8193);
|
||||
}
|
||||
|
||||
sys_exit();
|
||||
|
||||
Reference in New Issue
Block a user