Hi
Please let me know the following things.
1. one of my application is doing a select() system
call and waiting for characters typed from
keyboard.
2. In the kernel we use a wrapper function which
uses poll_wait() inside.
3. This wrapper is called when user calls select().
4. In kernel I am replicating duart_int() ISR by my
own routine where the input characters are taken
from my buffer instead of keyboard.
5. When I do this all my string is seen properly in
tty->read_buf.
6. now this characters from my buffer is not read
into the application where select is used.
(It works properly for normal situations.)
Please let me know what is the trigger I need to
provide from kernel after my string is put into
tty->read_buf
In other way...
What is the signal, select() or poll_wait() has to
receive from kernel so that application starts
reading my charaters from tty->read_buf ?
Thanks
Rupesh
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: ([email protected])
List Information: http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.