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_LK_H_ | 5 #ifndef SRC_SHARED_PLATFORM_LK_H_ |
6 #define SRC_SHARED_PLATFORM_LK_H_ | 6 #define SRC_SHARED_PLATFORM_LK_H_ |
7 | 7 |
8 #ifndef SRC_SHARED_PLATFORM_H_ | 8 #ifndef SRC_SHARED_PLATFORM_H_ |
9 #error Do not include platform_lk.h directly; use platform.h instead. | 9 #error Do not include platform_lk.h directly; use platform.h instead. |
10 #endif | 10 #endif |
11 | 11 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 semaphore_t sem_; | 108 semaphore_t sem_; |
109 mutex_t internal_; | 109 mutex_t internal_; |
110 int waiting_ = 0; | 110 int waiting_ = 0; |
111 }; | 111 }; |
112 | 112 |
113 } // namespace fletch | 113 } // namespace fletch |
114 | 114 |
115 #endif // defined(FLETCH_TARGET_OS_LK) | 115 #endif // defined(FLETCH_TARGET_OS_LK) |
116 | 116 |
117 #endif // SRC_SHARED_PLATFORM_LK_H_ | 117 #endif // SRC_SHARED_PLATFORM_LK_H_ |
OLD | NEW |