[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] Thread pool bug
From: |
Larry Gritz |
Subject: |
[Openexr-devel] Thread pool bug |
Date: |
Tue, 27 Oct 2015 14:08:11 -0700 |
https://github.com/openexr/openexr/blob/91015147e5a6a1914bcb16b12886aede9e1ed065/IlmBase/IlmThread/IlmThreadPool.cpp#L429
In the case where _data->numThreads == 0, in which the response should be to
let the calling thread execute the task directly, note that it does so while
still within the stop of the Lock. Therefore multiple threads each reading
OpenEXR files under this condition will block against each other and refuse to
read exr files concurrently.
--
Larry Gritz
address@hidden
- [Openexr-devel] Thread pool bug,
Larry Gritz <=