Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
InitializeStaticPointers: make init thread safe
fixes TSan warnings: Read of size 8 at 0x7f6c00f850e8 by thread T914: #0 InitializeStaticPointers #1 sjpeg::Encoder::Encoder(SjpegYUVMode, int, int, sjpeg::ByteSink*) ... Previous write of size 8 at 0x7f6c00f850e8 by thread T875: #0 InitializeStaticPointers #1 sjpeg::Encoder::Encoder(SjpegYUVMode, int, int, sjpeg::ByteSink*)
- Loading branch information