Re: hang in CFStream code
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.