Hi,

I've seen that the ImageInput::create function locks a mutex before getting the list of plugins. It seems the mutex is released when the recursive_lock_guard gets out of scope, which means AFTER the load is done: the library can not load two files at the same time.
What exactly is this lock protecting ?

I was wondering if there is somewhere a plan to have a lock free access via ImageInput ?


Michel
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to