The Threading Programming Guide does not mention main-thread safety

Originator:ddribin
Number:rdar://6522368 Date Originated:23-Jan-2009 02:46 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 3.1.1
Classification:Other Bug Reproducible:N/A
 
Summary: 
The Threading Programming Guide does not mention which thread-unsafe classes are usable from a background thread.  It has come to my attention that many thread-unsafe classes are also only usable from the main thread.  This is an important distinction that should be discussed explicitly in the Threaded Programming Guide.  Often times it is useful to spawn a background thread to avoid blocking the main thread, but this is not possible if a class is only usable on the main thread.  Appendix A of this document should also clarify which thread-unsafe classes are main-thread only and which are not.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!