Next article: Friday Q&A 2009-05-22: Objective-C Class Loading and Initialization
Previous article: Nanogolf
Tags: nsoperationqueue osbug
Mac OS X 10.5.7 has shipped and includes a fix for the NSOperationQueue bug that I discovered late last year. I have run all of my old test cases against 10.5.7 and it appears to perform as advertised. As far as I can see, NSOperationQueue is now safe to use. I'm glad that my prediction of no fix until Snow Leopard turned out to be wrong. Enjoy!
However, our tests with 10.5.7 show no sign of the operations getting hung up.
there is a:
Fixed problem with NSOperationQueue and PThreads
which was a deeper PThreads fix.
This may have fully fixed the noted bug, or it may just have moved it somewhere.
Empirical testing (such as your test cases) shows it is gone. But proving something doesn't exist is always hard.
As for whether the bug is still there, there's a bunch of evidence that it's not (Apple says they fixed it, and neither I nor a bunch of others can reproduce it) and zero evidence that it is. That doesn't mean it's gone, but I see no reason to assume it's still there until and unless some evidence is discovered to that effect.
Comments RSS feed for this page
Add your thoughts, post a comment:
Spam and off-topic posts will be deleted without notice. Culprits may be publicly humiliated at my sole discretion.