Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It may be that the analyze method isn't thread safe, and mutates some state inside the myDoc object. So it made one part of creating async/multi-threaded apps easier, but you still need to be careful with mutating state like that.

Yes. I believe many Mac developers attempting to leverage GCD are going to get a long-overdue wakeup call regarding their extremely prevalent use of mutable state.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: