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

Also GCD can be faster than locking with a mutex because it doesn't have to trap into the kernel. So now in my app I tend to protect access to variables with queues instead of @synchronized. The only downside is that it can't replace recursive locks


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

Search: