Rather than continuing to propagate try/catch (Closed) (aka LLThreadSafeQueueInterrupt) constructs through the code base, make WorkQueueBase::post() return bool indicating success (i.e. ! isClosed()). This obviates postIfOpen(), which no one was using anyway. In effect, postIfOpen() is renamed post(), bypassing the exception when isClosed(). Review existing try/catch blocks of that sort, changing to test for post() returning false. |
||
|---|---|---|
| .. | ||
| tests | ||
| CMakeLists.txt | ||
| llimage.cpp | ||
| llimage.h | ||
| llimagebmp.cpp | ||
| llimagebmp.h | ||
| llimagedimensionsinfo.cpp | ||
| llimagedimensionsinfo.h | ||
| llimagedxt.cpp | ||
| llimagedxt.h | ||
| llimagefilter.cpp | ||
| llimagefilter.h | ||
| llimagej2c.cpp | ||
| llimagej2c.h | ||
| llimagejpeg.cpp | ||
| llimagejpeg.h | ||
| llimagepng.cpp | ||
| llimagepng.h | ||
| llimagetga.cpp | ||
| llimagetga.h | ||
| llimageworker.cpp | ||
| llimageworker.h | ||
| llmapimagetype.h | ||
| llpngwrapper.cpp | ||
| llpngwrapper.h | ||