mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-29 07:12:05 +02:00
A slim reader/writer (SRW) lock can be initialized statically with the constant SRWLOCK_INIT. It is the only Windows synchronization object I can find with this property. Note: On old Windows versions that don't have SRWLOCK, use the fallback, thread-unsafe implementation. Change a NOLINT comment to a NOLINTNEXTLINE comment to prevent clang-format from aligning the #else and #endif comments in undesired way. Bug: 435213378 Change-Id: Iecff615a14a1905aedd2c05ad9444889f711cc17