blob: db53b47dcd8036d88baa87338a3f34f3f5583668 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//===-- mutex_fuchsia.h -----------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#if defined(__Fuchsia__)
#ifndef GWP_ASAN_MUTEX_FUCHSIA_H_
#define GWP_ASAN_MUTEX_FUCHSIA_H_
#error #include <lib/sync/mutex.h>
namespace gwp_asan {
class PlatformMutex {
protected:
sync_mutex_t Mu = {};
};
} // namespace gwp_asan
#endif // GWP_ASAN_MUTEX_FUCHSIA_H_
#endif // defined(__Fuchsia__)
|