OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_THREAD_H_ | 5 #ifndef RUNTIME_VM_THREAD_H_ |
6 #define VM_THREAD_H_ | 6 #define RUNTIME_VM_THREAD_H_ |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 #include "vm/atomic.h" | 10 #include "vm/atomic.h" |
11 #include "vm/bitfield.h" | 11 #include "vm/bitfield.h" |
12 #include "vm/globals.h" | 12 #include "vm/globals.h" |
13 #include "vm/handles.h" | 13 #include "vm/handles.h" |
14 #include "vm/os_thread.h" | 14 #include "vm/os_thread.h" |
15 #include "vm/store_buffer.h" | 15 #include "vm/store_buffer.h" |
16 #include "vm/runtime_entry_list.h" | 16 #include "vm/runtime_entry_list.h" |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 | 785 |
786 // Disable thread interrupts. | 786 // Disable thread interrupts. |
787 class DisableThreadInterruptsScope : public StackResource { | 787 class DisableThreadInterruptsScope : public StackResource { |
788 public: | 788 public: |
789 explicit DisableThreadInterruptsScope(Thread* thread); | 789 explicit DisableThreadInterruptsScope(Thread* thread); |
790 ~DisableThreadInterruptsScope(); | 790 ~DisableThreadInterruptsScope(); |
791 }; | 791 }; |
792 | 792 |
793 } // namespace dart | 793 } // namespace dart |
794 | 794 |
795 #endif // VM_THREAD_H_ | 795 #endif // RUNTIME_VM_THREAD_H_ |
OLD | NEW |