I would like to discuss on the downside of using TimerTask with Handler in a multithreaded application for Android, and why using IntentService along with TimerTask is a good idea.
The pervasive use of blocks and new nested context in iOS 5 and Mac OS X Lion paved the path to a whole new way of multithreading. Apple has lifted yet another barrier to use Core Data for applications that needs to run on multiple threads. This article teach you how to effectively write multi-threaded […]
Core Data isn’t thread safe and Apple recommends to use multiple contexts instead to handle concurrency. However Apple seems to have forgotten that on Mac OS X, there are hooks like the undo manager that can cause havoc in multi-threaded Core Data applications, even each thread having its own context.
—
Free Updates!
Learn how to grow your indie business while keeping your day job.