Please see this pull request, which at this stage is a mock-up/design review for adding explicit thread fan-out controls to ImageInput, in the manner that ImageBufAlgo functions have always had:
https://github.com/OpenImageIO/oiio/pull/1258 The rationale and tradeoffs are discussed a bit in the PR comments. If you care about the fine points of the OIIO APIs, please take a moment to look that over and join in the discussion. I'd like a little feedback before I decide whether to proceed further in this direction (including adding it to more functions as appropriate, and to ImageOutput), or whether it is better to find some other approach to the issue of controlling thread fan-out within the image reading/writing internals. Thanks. -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
