[email protected] 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] Tread and alarm
From:
Adriano Verardo <[email protected]>
Date:
Wed, 27 Oct 2010 23:09:22 +0200
To:
Fans of the OS Plan 9 from Bell Labs <[email protected]>

To:
Fans of the OS Plan 9 from Bell Labs <[email protected]>


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 alarm note is received after Tread, as if the process were totally freezed
waiting for the 9P transaction.

Could anyone kindly explain to me if this is correct and where is my mistake ?

Thanks in advance

adriano



Reply via email to