Tweak and generalize atomic_int.
Tweak and generalize atomic_int.

paulproteus/livegrep,paulproteus/livegrep,wfxiang08/livegrep,paulproteus/livegrep,lekkas/livegrep,lekkas/livegrep,wfxiang08/livegrep,lekkas/livegrep,lekkas/livegrep,wfxiang08/livegrep,wfxiang08/livegrep,paulproteus/livegrep,lekkas/livegrep,wfxiang08/livegrep,paulproteus/livegrep,wfxiang08/livegrep,lekkas/livegrep,paulproteus/livegrep