blob: b6e53b00b25d2964a0b6cb30ec87a5b41d11b623 [file] [log] [blame]
// Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/third_party/quic/platform/impl/quic_mutex_impl.h"
namespace quic {
void QuicLockImpl::WriterLock() {
lock_.Acquire();
}
void QuicLockImpl::WriterUnlock() {
lock_.Release();
}
void QuicLockImpl::ReaderLock() {
lock_.Acquire();
}
void QuicLockImpl::ReaderUnlock() {
lock_.Release();
}
} // namespace quic