site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Apr 10, 2007, at 3:34 PM, Terry Simons wrote: On Apr 10, 2007, at 3:27 PM, Steve Checkoway wrote: -- Steve Checkoway _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Apr 10, 2007, at 11:22 AM, Terry Simons wrote: You could impose some sort of artificial sleep condition every now and then to force your application to yield the CPU, but that could cause performance issues too. As long as there is no data to read and you are not writing, select should block without needing any sleep. But if your application is getting bombarded with data, select will return often and could possibly cause the CPU to grind, right? I suppose it could but chances are you are wanting to do something with that data which is probably more expensive than a system call. This email sent to site_archiver@lists.apple.com