Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disposing of streams from within their callback?



It's definitely safe on 10.2

Even to dispose of the write stream inside of the read stream callback?

In the manner you are doing it, yes, that should be safe. If you don't SetClient(NULL) before the release, you're in for a world of hurt, but as long as you do that, all should be fine.

REW
_______________________________________________
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.

References: 
 >Re: Disposing of streams from within their callback? (From: Avi Drissman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.