0
11
Rating:
This post has not been rated yet. Be the first to give a rating!
Impact:
This post has a impact factor of 11 and 422 pageviews

Alternative to double-checked locking and the Singleton pattern

Singleton pattern is a well-known pattern in programming. Double-checked locking is an implementation of singleton pattern which is intended to be thread-safe. However it is found that this method is broken, unless memory barrier is used which may has problem of portability.

In this article, I am going to present an alternative to double-checked locking ...

30 Jan 12
0
9
Rating:
This post has not been rated yet. Be the first to give a rating!
Impact:
This post has a impact factor of 9 and 244 pageviews

Android Task Killers are Dead, Here's What You Should Be Doing

An excellent article about android. You shouldn't use android task killers, as they will cause system instability and more battery drain. Android version 2 or above doesn't need them.

You should use something like watchdog to see what apps is eating up resources and misbehave and end them instead.

20 Jan 12