| 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 #if defined(FLETCH_TARGET_OS_CMSIS) | 5 #if defined(FLETCH_TARGET_OS_CMSIS) |
| 6 | 6 |
| 7 #include "src/vm/thread.h" // NOLINT we don't include thread_posix.h. | 7 #include "src/vm/thread.h" // NOLINT we don't include thread_posix.h. |
| 8 | 8 |
| 9 #include <errno.h> | 9 #include <errno.h> |
| 10 #include <stdio.h> | 10 #include <stdio.h> |
| 11 | 11 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 if (thread == NULL) { | 68 if (thread == NULL) { |
| 69 FATAL("osThreadCreate failed\n"); | 69 FATAL("osThreadCreate failed\n"); |
| 70 } | 70 } |
| 71 return ThreadIdentifier(thread); | 71 return ThreadIdentifier(thread); |
| 72 } | 72 } |
| 73 | 73 |
| 74 } // namespace fletch | 74 } // namespace fletch |
| 75 | 75 |
| 76 #endif // defined(FLETCH_TARGET_OS_CMSIS) | 76 #endif // defined(FLETCH_TARGET_OS_CMSIS) |
| OLD | NEW |