// archives


This tag is associated with 4 posts

Swift Snowflake ID Generator

Make thousands of unique 64 bit identifiers at every millisecond without the need of global synchronization.


The Downside of Using TimerTask with Handler in a Multithreaded Application

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.


Multithreading with Core Data on iOS

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 and Multithreading

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.



Find us on Facebook