Change recent ImageBuf addition -- I don't like spin_mutex being in the public definition of ImageBuf. Move the mutex to be static in imagebuf.cpp, not in the header. That also eliminates the need for imagebuf.h to include thread.h.
You can merge this Pull Request by running: git pull https://github.com/lgritz/oiio lg-imagebuf Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/410 -- Commit Summary -- * Change recent ImageBuf addition -- I don't like spin_mutex being in the public -- File Changes -- M src/include/imagebuf.h (2) M src/libOpenImageIO/imagebuf.cpp (9) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/410.patch https://github.com/OpenImageIO/oiio/pull/410.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/410 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
