[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [patch] Re: Can modules block on socket writes? (fwd)
- From: Ingo Molnar <mingo elte hu>
- To: Marcus Gruendler <runner tamalin de>
- Cc: TUX Development Mailing List <tux-list redhat com>
- Subject: Re: [patch] Re: Can modules block on socket writes? (fwd)
- Date: Tue, 13 Mar 2001 22:50:30 +0100 (CET)
On Tue, 13 Mar 2001, Marcus Gruendler wrote:
> Anyway, the TUX_ACTION_SEND_BUFFER helps a lot, yes. I just don't
> understand how the module realizes that it is scheduled away and how
> it should finish the buffer send.
it's all automatic. Check out demo5.c how it works. The module issues a
SEND_BUFFER, the next time the request is scheduled the send has finished.
> Maybe I understood you wrong, but didn't you mean that in case of not
> enough write space (socket buffer space or main memory?) the module
> has to reissue a TUX_ACTION_SEND_BUFFER with the rest of the buffer.
nope, this is done by TUX internally - all of it is sent automatically.
Ingo
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]