OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef SRC_SHARED_PLATFORM_POSIX_H_ | 5 #ifndef SRC_SHARED_PLATFORM_POSIX_H_ |
6 #define SRC_SHARED_PLATFORM_POSIX_H_ | 6 #define SRC_SHARED_PLATFORM_POSIX_H_ |
7 | 7 |
8 #ifndef SRC_SHARED_PLATFORM_H_ | 8 #ifndef SRC_SHARED_PLATFORM_H_ |
9 #error Do not include platform_posix.h directly; use platform.h instead. | 9 #error Do not include platform_posix.h directly; use platform.h instead. |
10 #endif | 10 #endif |
11 | 11 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 private: | 75 private: |
76 pthread_mutex_t mutex_; // Pthread mutex for POSIX platforms. | 76 pthread_mutex_t mutex_; // Pthread mutex for POSIX platforms. |
77 pthread_cond_t cond_; // Pthread condition for POSIX platforms. | 77 pthread_cond_t cond_; // Pthread condition for POSIX platforms. |
78 }; | 78 }; |
79 | 79 |
80 } // namespace fletch | 80 } // namespace fletch |
81 | 81 |
82 #endif // defined(FLETCH_TARGET_OS_POSIX) | 82 #endif // defined(FLETCH_TARGET_OS_POSIX) |
83 | 83 |
84 #endif // SRC_SHARED_PLATFORM_POSIX_H_ | 84 #endif // SRC_SHARED_PLATFORM_POSIX_H_ |
OLD | NEW |