OpenImageIO/oiio — pull request #898 by lgritz (2014-06-30 06:30:19+00:00)
Title: thread.h: add atomic_exchange for int and long long

We had exchange-and-add, and compare-and-exchange, but no unconditional atomic exchange.