Pointed out and fix suggestion by Piotr Sikora < piotr.sikora _AT_ frickle.com >, who
also provided an initial port, where the part of the port regarding the atomic was taken from.
OK landry@
libmemcache is a C C++ API for memcached, which is a high-performance,
distributed memory object caching system, generic in nature, but
intended for use in speeding up dynamic web applications by
alleviating database load.
After many back and forth, finally OK landry@