• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again


  • Subject: Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again
  • From: Rick Mann <email@hidden>
  • Date: Wed, 01 Aug 2012 14:47:52 -0700

On Aug 1, 2012, at 14:45 , Fritz Anderson <email@hidden> wrote:

> On 1 Aug 2012, at 3:58 PM, Rick Mann <email@hidden> wrote:
>
>> I know how to run instruments. Show me the documentation that tells me how to actually do something with Allocations. If you look at my previous email on the subject, you can see that I ran Allocations way back when it was suggested, and found NO allocations of NSFileHandle.
>
> My book has a couple of chapters on Instruments, including a lengthy example of how to use the Allocations instrument.
>
> I am reluctant to self-promote, but it's responsive to your search for documentation.

No, please do. I appreciate it. I got a little farther by realizing I had to search for NSConcreteFileHandle (or just "filehandle"). But near as I can tell, it's still being deallocated, just leaving behind the file descriptor.

Instruments behaves inconsistently for me, and it's hard to understand why. I also can't find explanations for numerous things I see in the UI, things that don't make any sense (like percentages on lines of code that never execute).

--
Rick



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again (From: Rick Mann <email@hidden>)
 >Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again (From: Jens Alfke <email@hidden>)
 >Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Sorting NSArray -- advice on how to accomplish a "simple" alpha ordering?
  • Next by Date: Baffled by AVCaptureVideoPreviewLayer
  • Previous by thread: Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again
  • Next by thread: Re: -[NSFileHandle readInBackgroundAndNotify] opens the file again
  • Index(es):
    • Date
    • Thread