whats difference between detach , non-detach thread in iphone? iphone "threading programming guide" documentation says
- by default nsthread class creates detach threads
- and says detached thread means thread's resources automatically reclaimed system when thread exits. in same way , how happen in non-detach threads?
thank you. suse
this relates underlying pthread implementation. read on pthread_detach , pthread_join understand differences.
in practice, don't care , cocoa/nsthread right thing automatically.
and clarify, there's no way create non-detached thread using nsthread. you'd have use low-level thread api that.
Comments
Post a Comment