Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ctl_enqueuedata() woes



Please don't do this. If you're running on the input thread you're
going to hurt network performance.

-josh

Um ok, so what _should_ I do then?  First of all, is ctl_enqueuedata really that brain dead?   The docs I read do not say there can be only 1 item in the "queue" or otherwise you get tossed without error.

If I can get confirmation from apple that it really is supposed to be that way,  I can just manage my own queue and use getsockopt instead of recv.   

(All I care about is 10.4+ by the way)

--
Karl Pickett
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin
"Eternal vigilance is the price of liberty." -- Wendell Phillips
"One man with courage makes a majority." -- Andrew Jackson, 1832
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden

References: 
 >ctl_enqueuedata() woes (From: "Karl Pickett" <email@hidden>)
 >Re: ctl_enqueuedata() woes (From: Brian Bergstrand <email@hidden>)
 >Re: ctl_enqueuedata() woes (From: Josh Graessley <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.