1 // Copyright 2016 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.h"
6 
7 namespace quiche {
8 
WriterLock()9 void QuicheLockImpl::WriterLock() {
10   lock_.Acquire();
11 }
12 
WriterUnlock()13 void QuicheLockImpl::WriterUnlock() {
14   lock_.Release();
15 }
16 
ReaderLock()17 void QuicheLockImpl::ReaderLock() {
18   lock_.Acquire();
19 }
20 
ReaderUnlock()21 void QuicheLockImpl::ReaderUnlock() {
22   lock_.Release();
23 }
24 
25 }  // namespace quiche
26