• 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: CFRead/WriteStreamClose hoops thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFRead/WriteStreamClose hoops thread


  • Subject: Re: CFRead/WriteStreamClose hoops thread
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 31 Oct 2008 21:27:15 -0700


On Oct 31, 2008, at 7:03 PM, Eli Bach wrote:

If you release "your" retain before unscheduling it from the runloop OR call streamclose, the calls will hang

That sounds like a framework bug; but in general, it's unwise to do anything with a reference after releasing it. Treat the pointer as though it were now garbage. You may "know" that something else has retained the object, so the pointer remains valid; but that behavior is almost always an implementation detail that could change.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >CFRead/WriteStreamClose hoops thread (From: Eli Bach <email@hidden>)
 >Re: CFRead/WriteStreamClose hoops thread (From: Eli Bach <email@hidden>)

  • Prev by Date: Re: CFRead/WriteStreamClose hoops thread
  • Next by Date: Re: accessing menu crashes app
  • Previous by thread: Re: CFRead/WriteStreamClose hoops thread
  • Next by thread: accessing menu crashes app
  • Index(es):
    • Date
    • Thread