| OLD | NEW |
| 1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_VM_THREAD_CMSIS_H_ | 5 #ifndef SRC_VM_THREAD_CMSIS_H_ |
| 6 #define SRC_VM_THREAD_CMSIS_H_ | 6 #define SRC_VM_THREAD_CMSIS_H_ |
| 7 | 7 |
| 8 #ifndef SRC_VM_THREAD_H_ | 8 #ifndef SRC_VM_THREAD_H_ |
| 9 #error "Don't include thread_cmsis.h directly, include thread.h." | 9 #error "Don't include thread_cmsis.h directly, include thread.h." |
| 10 #endif | 10 #endif |
| 11 | 11 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 38 friend class Thread; | 38 friend class Thread; |
| 39 | 39 |
| 40 explicit ThreadIdentifier(osThreadId thread) : thread_(thread) {} | 40 explicit ThreadIdentifier(osThreadId thread) : thread_(thread) {} |
| 41 | 41 |
| 42 osThreadId thread_; | 42 osThreadId thread_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace fletch | 45 } // namespace fletch |
| 46 | 46 |
| 47 #endif // SRC_VM_THREAD_CMSIS_H_ | 47 #endif // SRC_VM_THREAD_CMSIS_H_ |
| OLD | NEW |