Code Comments
Programming Forum and web based access to our favorite programming groups.On Mar 20, 4:11=A0pm, David Schwartz <dav...@webmaster.com> wrote: > On Mar 20, 2:00 pm, jiangxu...@gmail.com wrote: > > > It returns when the entire message is received. > > > Because you have received the entire message. In a datagram protocol, > each datagram is a message. > > > No. > > > Don't worry about it. You will only get frequent context switches if > there's nothing else to do. If there's nothing else to do, why should > you care if there are lots of context switches? > > DS I am receiving high bit rate streamming data such as Video data. I think it will be more efficient with less context switch between kernel and user space. So if the kernel can accumulate more packets before wake up the function, it should be more CPU efficient, right? John
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.