commit | b9ab64d8dbee2db829e59357d335c151680f44f0 | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Thu May 11 21:02:29 2017 -0500 |
committer | DRC <information@libjpeg-turbo.org> | Tue Jun 27 10:58:36 2017 -0500 |
tree | 132979359e995cf1688c7a05cc846285c78a5f44 | |
parent | 2ac4e9d914353eac83b2395ee992a1c262489bb0 [diff] |
TurboJPEG: Thread-safe error message retrieval Introduce a new C API function (tjGetErrorStr2()) that can be used to retrieve compression/decompression/transform error messages in a thread-safe (i.e. instance-specific) manner. Retrieving error messages from global functions is still thread-unsafe. Addresses a concern expressed in #151.