On Jan 2, 2013, at 11:17 AM, Richard Shaw wrote: > It looks like multithreading is disabled for ppc/ppc64 during > configuration. Does that solve the problem?
It solves the problem of getting the code to compile, but if it's called from a multithreaded program, it could be trouble. > I guess the question I should ask is if there is a proper way to > support PPC? Perhaps threading can be forced to off in the cmake > config if it detects PPC/PPC64? We can turn off threading *within* OIIO, but we'd still be in trouble if the app using it is multithreaded and calls OIIO from more than one thread. But I think we can fix it. Do you have access to one of these ppc boxes? $ gcc --version what does that say? If it's a recent enough version of gcc, we can probably use the gcc intrinsics and make it all work. If not, I'll do some hunting with Uncle Google and see if we can find code to implement the locks. -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
