Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: runtime/vm/thread.h

Issue 2750843003: Rename TARGET_OS_* to HOST_OS_*. (Closed)
Patch Set: DEPS Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/stack_frame.cc ('k') | runtime/vm/thread_interrupter_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 RUNTIME_VM_THREAD_H_ 5 #ifndef RUNTIME_VM_THREAD_H_
6 #define RUNTIME_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"
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 friend class IsolateTestHelper; 800 friend class IsolateTestHelper;
801 friend class NoOOBMessageScope; 801 friend class NoOOBMessageScope;
802 friend class Simulator; 802 friend class Simulator;
803 friend class StackZone; 803 friend class StackZone;
804 friend class ThreadRegistry; 804 friend class ThreadRegistry;
805 805
806 DISALLOW_COPY_AND_ASSIGN(Thread); 806 DISALLOW_COPY_AND_ASSIGN(Thread);
807 }; 807 };
808 808
809 809
810 #if defined(TARGET_OS_WINDOWS) 810 #if defined(HOST_OS_WINDOWS)
811 // Clears the state of the current thread and frees the allocation. 811 // Clears the state of the current thread and frees the allocation.
812 void WindowsThreadCleanUp(); 812 void WindowsThreadCleanUp();
813 #endif 813 #endif
814 814
815 815
816 // Disable thread interrupts. 816 // Disable thread interrupts.
817 class DisableThreadInterruptsScope : public StackResource { 817 class DisableThreadInterruptsScope : public StackResource {
818 public: 818 public:
819 explicit DisableThreadInterruptsScope(Thread* thread); 819 explicit DisableThreadInterruptsScope(Thread* thread);
820 ~DisableThreadInterruptsScope(); 820 ~DisableThreadInterruptsScope();
821 }; 821 };
822 822
823 } // namespace dart 823 } // namespace dart
824 824
825 #endif // RUNTIME_VM_THREAD_H_ 825 #endif // RUNTIME_VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/stack_frame.cc ('k') | runtime/vm/thread_interrupter_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698