Le 30 juin 2011 à 08:19, James Merkel a écrit :

> 
> On Jun 29, 2011, at 11:07 PM, Kyle Sluder wrote:
> 
>> On Wed, Jun 29, 2011 at 10:38 PM, James Merkel <jmerk...@mac.com> wrote:
>>> Ok, thanks. For what I'm doing file descriptors are not a scarce resource.
>> 
>> File descriptors are almost always a scarce resource. By default, each
>> process only gets 256 of them.
>> 
>> --Kyle Sluder
> 
> Ok, I'm looking at my application in Instruments File Activity. The column 
> labeled FD I assume means file descriptors. Is that the total number of FDs 
> in use at any given time?


No, Just like process ID, file descriptor number can be reused by the system. 
And there is absolutely no guarantee the system use simple incremental value 
for fd AFAIK.

-- Jean-Daniel




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to