Results 1 to 1 of 1
Thread: Wait & Interrupt
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2004
Wait & Interrupt
1st way is to make the sending process to wait X jiffies and then send the packet.
2nd way is to invoke another process by using add_timer in the sendmsg() function. Then, what should be the return value of sendmsg()? Because before the sendmsg() function exits, nothing could be get (such as length, bytes) from add_timer...
What difference is between 1st and 2nd way? Is anything wrong with it?
Thanks for your advice.