• 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: hang in CFStream code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hang in CFStream code


  • Subject: Re: hang in CFStream code
  • From: James Matthews <email@hidden>
  • Date: Wed, 30 Apr 2003 13:08:31 -0400

Thanks for the suggestions. I was disposing of the CFReadStream and socket in my kCFStreamEventEndEncountered callback, but it turns out that the CFStream code was trying to lock its (now non-existent) data structure after the callback returned. I hear that this will be fixed in Panther, but in the meantime I'm putting a stutter-step in my code: I've replaced my callback with one that registers a timer to fire immediately and returns, and the timer calls the actual callback.

Thanks,
--
Jim Matthews
Fetch Softworks
http://fetchsoftworks.com
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: hang in CFStream code
      • From: James Matthews <email@hidden>
References: 
 >hang in CFStream code (From: James Matthews <email@hidden>)
 >Re: hang in CFStream code (From: Becky Willrich <email@hidden>)

  • Prev by Date: Re: hang in CFStream code
  • Next by Date: Re: Forcing PAP on OSX
  • Previous by thread: Re: hang in CFStream code
  • Next by thread: Re: hang in CFStream code
  • Index(es):
    • Date
    • Thread