GT2/Ejectable/node_modules/react-native/ReactCommon/better/mutex.h

21 lines
405 B
C++

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/SharedMutex.h>
#include <mutex>
#include <shared_mutex>
namespace facebook {
namespace better {
using shared_mutex = folly::SharedMutex;
} // namespace better
} // namespace facebook