Re: async i/o question
- From: Rainer Weikusat <rweikusat@xxxxxxxxxxx>
- Date: Fri, 02 Nov 2007 11:57:02 +0100
anatolik <anatolik@xxxxxxxxx> writes:
I'm new to linux kernel and need some advice. I need to implement
async i/o between application and kernel module. It should work like
this: application allocates number of buffers and sends them to
kernel module and goes to sleep (wait for some notification), kernel
module fills the buffers when it has data and notifies application
that a buffer is ready. Application wakes up, processes the data in
the buffer and sends it back to kernel module and goes to sleep
until next notification.
Ehh ... assuming you state your requirements correctly (and
completely), this is ordinary 'blocking' synchronous I/O, which
happens to be the default behaviour of the respective primitives
(read/ write/ send/ recv usf).
.
- Follow-Ups:
- Re: async i/o question
- From: anatolik
- Re: async i/o question
- References:
- async i/o question
- From: anatolik
- async i/o question
- Prev by Date: Re: async i/o question
- Next by Date: Re: open() behavior under heavy disk load
- Previous by thread: Re: async i/o question
- Next by thread: Re: async i/o question
- Index(es):
Relevant Pages
|