Monthly Archives: July 2012

Document thread safety!

I recently wasted almost an entire day tracking down memory corruption caused by a thread safety issue.  I was working with libMemcached, whose website says right on the front page that the library is thread safe.  Their documentation also says that the library is thread safe.  However, halfway down the page, it says “memcached_st structures […]