brintos

brintos / llvm-project-archived public Read only

0
0
Text · 666 B · edfc1a6 Raw
24 lines · c
1//===-- mutex_fuchsia.h -----------------------------------------*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#if defined(__Fuchsia__)10#ifndef GWP_ASAN_MUTEX_FUCHSIA_H_11#define GWP_ASAN_MUTEX_FUCHSIA_H_12 13#include <lib/sync/mutex.h>14 15namespace gwp_asan {16class PlatformMutex {17protected:18  sync_mutex_t Mu = {};19};20} // namespace gwp_asan21 22#endif // GWP_ASAN_MUTEX_FUCHSIA_H_23#endif // defined(__Fuchsia__)24