Poll support implementation
Poll support implementation
- Subject: Poll support implementation
- From: "Jernej Azarija" <email@hidden>
- Date: Tue, 31 Jul 2007 09:44:05 +0200
- Thread-topic: Poll support implementation
Title: Poll support implementation
Hello!
I'm implementing a char device that'll be used for communication with userland. The data being transfered is quite asynchronous in it's nature, so I should develop an efficient way of polling. A trivial method to overcome manual polling would be to simply block the calling process until data is available, but I'm interested in the actually poll support implementation. I couldn't find the proper polling support implementation browsing the code of some fd-related stuff in the Darwin code (sys_pipe.c..) so I'm wondering if someone could point me out on how to enable poll in my code so that a daemon reading from my char device could simply use poll()/select().
Thanks,
Jernej.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden