commit | 3be7d1b6b486ecd47b0daa58210051e29fb31122 | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Tue Mar 15 14:55:26 2022 |
committer | Paul Wankadia <junyer@google.com> | Tue Mar 15 17:56:20 2022 |
tree | 3836919af4460f10770a3172c36e7760a3dbea73 | |
parent | e30396b15375ca076b71f620eb2c388a2374784d [diff] |
Fall back to std::shared_mutex, not std::mutex. Windows users have SRWLOCK. POSIX users have pthread_rwlock_t. I don't know who else is out there, but they should hopefully have std::shared_mutex in 2022. (If not, I'm sure they will tell me.) Change-Id: Ica0def49b0cc58119aa9587f47872ee497d03de3 Reviewed-on: https://code-review.googlesource.com/c/re2/+/59890 Reviewed-by: Perry Lorier <perryl@google.com> Reviewed-by: Paul Wankadia <junyer@google.com>