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

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

Issue 1414343002: Fix builds (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/simulator_mips.cc ('k') | no next file » | 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 VM_THREAD_H_ 5 #ifndef VM_THREAD_H_
6 #define VM_THREAD_H_ 6 #define VM_THREAD_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/handles.h" 9 #include "vm/handles.h"
10 #include "vm/os_thread.h" 10 #include "vm/os_thread.h"
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 void Schedule(Isolate* isolate, bool bypass_safepoint = false); 494 void Schedule(Isolate* isolate, bool bypass_safepoint = false);
495 void Unschedule(bool bypass_safepoint = false); 495 void Unschedule(bool bypass_safepoint = false);
496 496
497 #define REUSABLE_FRIEND_DECLARATION(name) \ 497 #define REUSABLE_FRIEND_DECLARATION(name) \
498 friend class Reusable##name##HandleScope; 498 friend class Reusable##name##HandleScope;
499 REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION) 499 REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION)
500 #undef REUSABLE_FRIEND_DECLARATION 500 #undef REUSABLE_FRIEND_DECLARATION
501 501
502 friend class ApiZone; 502 friend class ApiZone;
503 friend class Isolate; 503 friend class Isolate;
504 friend class Simulator;
504 friend class StackZone; 505 friend class StackZone;
505 friend class ThreadIterator; 506 friend class ThreadIterator;
506 friend class ThreadIteratorTestHelper; 507 friend class ThreadIteratorTestHelper;
507 friend class ThreadRegistry; 508 friend class ThreadRegistry;
508 509
509 DISALLOW_COPY_AND_ASSIGN(Thread); 510 DISALLOW_COPY_AND_ASSIGN(Thread);
510 }; 511 };
511 512
512 513
513 // Note that this takes the thread list lock, prohibiting threads from coming 514 // Note that this takes the thread list lock, prohibiting threads from coming
(...skipping 14 matching lines...) Expand all
528 }; 529 };
529 530
530 #if defined(TARGET_OS_WINDOWS) 531 #if defined(TARGET_OS_WINDOWS)
531 // Clears the state of the current thread and frees the allocation. 532 // Clears the state of the current thread and frees the allocation.
532 void WindowsThreadCleanUp(); 533 void WindowsThreadCleanUp();
533 #endif 534 #endif
534 535
535 } // namespace dart 536 } // namespace dart
536 537
537 #endif // VM_THREAD_H_ 538 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/simulator_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698