Ctl_enqueuedata ENOBUFS error solved
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Microsoft-Entourage/10.1.4.030702.0 The ENOBUFS error I was getting last week in my call to ctl_enqueuedata was caused by my me. I have been programming with high-level interfaces for too long and forgot that speed is critical to some processes. :-} Ctl_enqueuedata was running out of queue space because the data was not being read fast enough from the queue by my user app. My user app was calling printf's to dump the data obtained by recv. I now have the recv in one thread and the printf's in another thread with a little TAILQ to pass the data. So, don't worry, the kernel code is sound and only throws an ENOBUF when it has a good reason. -Allan _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Allan Hoeltje