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_H_ | 5 #ifndef SRC_VM_THREAD_H_ |
6 #define SRC_VM_THREAD_H_ | 6 #define SRC_VM_THREAD_H_ |
7 | 7 |
8 #include "src/shared/globals.h" | 8 #include "src/shared/globals.h" |
9 #include "src/shared/platform.h" | 9 #include "src/shared/platform.h" |
10 | 10 |
11 #if defined(FLETCH_TARGET_OS_POSIX) | 11 #if defined(FLETCH_TARGET_OS_POSIX) |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 typedef void* (*RunSignature)(void*); | 46 typedef void* (*RunSignature)(void*); |
47 static ThreadIdentifier Run(RunSignature run, void* data = NULL); | 47 static ThreadIdentifier Run(RunSignature run, void* data = NULL); |
48 | 48 |
49 private: | 49 private: |
50 DISALLOW_ALLOCATION(); | 50 DISALLOW_ALLOCATION(); |
51 }; | 51 }; |
52 | 52 |
53 } // namespace fletch | 53 } // namespace fletch |
54 | 54 |
55 #endif // SRC_VM_THREAD_H_ | 55 #endif // SRC_VM_THREAD_H_ |
OLD | NEW |