public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* can someone explain how to implement callback in kernel?
@ 2005-10-26 17:06 Xin Zhao
  2005-10-26 18:53 ` Michael Krufky
  0 siblings, 1 reply; 2+ messages in thread
From: Xin Zhao @ 2005-10-26 17:06 UTC (permalink / raw)
  To: linux-kernel

I am writing a device driver. I want to achieve asynchronous I/O. What
I want to do is as follows:

1. the driver issues a request to the device. Instead of waiting , it
schedules a callback,  then return.

2. after the device serves the request, the callback should be
triggered to finish the rest of work for this request.

This seems to be a standard callback working flow. But I don't know
how to implement this. Can someone give me a brief idea or point me to
some link about this?

Thanks in advance!

Xin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-26 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-26 17:06 can someone explain how to implement callback in kernel? Xin Zhao
2005-10-26 18:53 ` Michael Krufky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox