cinap_len...@gmx.de wrote:
you have to implement flush in the 9p server.
--
cinap
Ah ...
I've just (re)read the 9p(2) man page ... it seems clear now.
Thank you very much, cinap :-)
Subject:
[9fans] Trea
erik quanstrom wrote:
The client is (really?) suspended until Tread, but the read() sys call
cannot be interrupted by alarm().
i didn't understand your errata
If the are no available data, the file server doesn't do
r->ofcall.count = 0;
response(r, nil);
but just enqueue the Req and pro
you have to implement flush in the 9p server.
--
cinap
--- Begin Message ---
Hi, all
In a user space file server (9p(2)/9pfile(2)/...) I postpone the Rread
response if there are no available data,
in order to implement a suspensive read().
The client is (really?) suspended until Tread, but th
> The client is (really?) suspended until Tread, but the read() sys call
> cannot be interrupted by alarm().
i didn't understand your errata, so to clarify,
read(2) is interruptable with a note (modulo the
file server, but that's a different story). here's a
program that demonstrates:
; 8.read
Errata: ... alarm note is received after Rread, as if the ...
sorry :-)
Adriano Verardo wrote:
Hi, all
In a user space file server (9p(2)/9pfile(2)/...) I postpone the Rread
response if there are no available data,
in order to implement a suspensive read().
The client is (really?) suspended
Hi, all
In a user space file server (9p(2)/9pfile(2)/...) I postpone the Rread
response if there are no available data,
in order to implement a suspensive read().
The client is (really?) suspended until Tread, but the read() sys call
cannot be interrupted by alarm().
It seems to me that the