andresp@webrtc.org | 7fb75ec | 2013-12-20 20:20:50 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
| 3 | // |
| 4 | // Use of this source code is governed by a BSD-style license |
| 5 | // that can be found in the LICENSE file in the root of the source |
| 6 | // tree. An additional intellectual property rights grant can be found |
| 7 | // in the file PATENTS. All contributing project authors may |
| 8 | // be found in the AUTHORS file in the root of the source tree. |
| 9 | // |
| 10 | // Borrowed from |
| 11 | // https://code.google.com/p/gperftools/source/browse/src/base/thread_annotations.h |
| 12 | // but adapted for clang attributes instead of the gcc. |
| 13 | // |
| 14 | // This header file contains the macro definitions for thread safety |
| 15 | // annotations that allow the developers to document the locking policies |
| 16 | // of their multi-threaded code. The annotations can also help program |
| 17 | // analysis tools to identify potential thread safety issues. |
| 18 | |
noahric | 580df53 | 2016-12-12 13:36:46 -0800 | [diff] [blame] | 19 | #ifndef WEBRTC_BASE_THREAD_ANNOTATIONS_H_ |
| 20 | #define WEBRTC_BASE_THREAD_ANNOTATIONS_H_ |
andresp@webrtc.org | 7fb75ec | 2013-12-20 20:20:50 +0000 | [diff] [blame] | 21 | |
andresp@webrtc.org | 7fb75ec | 2013-12-20 20:20:50 +0000 | [diff] [blame] | 22 | |
Henrik Kjellander | 6776518 | 2017-06-28 20:58:07 +0200 | [diff] [blame] | 23 | // This header is deprecated and is just left here temporarily during |
| 24 | // refactoring. See https://bugs.webrtc.org/7634 for more details. |
| 25 | #include "webrtc/rtc_base/thread_annotations.h" |
andresp@webrtc.org | 7fb75ec | 2013-12-20 20:20:50 +0000 | [diff] [blame] | 26 | |
noahric | 580df53 | 2016-12-12 13:36:46 -0800 | [diff] [blame] | 27 | #endif // WEBRTC_BASE_THREAD_ANNOTATIONS_H_ |