Ctl_enqueuedata ENOBUFS error solved
Ctl_enqueuedata ENOBUFS error solved
- Subject: Ctl_enqueuedata ENOBUFS error solved
- From: Allan Hoeltje <email@hidden>
- Date: Thu, 14 Jul 2005 17:13:47 -0700
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden