| 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_WIN) | 5 #if defined(FLETCH_TARGET_OS_WIN) |
| 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 "src/shared/platform.h" | 9 #include "src/shared/platform.h" |
| 10 #include "src/shared/utils.h" | 10 #include "src/shared/utils.h" |
| 11 | 11 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 40 data, 0, NULL); | 40 data, 0, NULL); |
| 41 if (thread == NULL) { | 41 if (thread == NULL) { |
| 42 FATAL("CreateThread failed\n"); | 42 FATAL("CreateThread failed\n"); |
| 43 } | 43 } |
| 44 return ThreadIdentifier(thread); | 44 return ThreadIdentifier(thread); |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace fletch | 47 } // namespace fletch |
| 48 | 48 |
| 49 #endif // defined(FLETCH_TARGET_OS_WIN) | 49 #endif // defined(FLETCH_TARGET_OS_WIN) |
| OLD | NEW |