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

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

Issue 1391013006: Call known TLS destructors on Windows (Closed) Base URL: git@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
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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 // Returns false when there are no more threads left. 505 // Returns false when there are no more threads left.
506 bool HasNext() const; 506 bool HasNext() const;
507 507
508 // Returns the current thread and moves forward. 508 // Returns the current thread and moves forward.
509 Thread* Next(); 509 Thread* Next();
510 510
511 private: 511 private:
512 Thread* next_; 512 Thread* next_;
513 }; 513 };
514 514
515 #if defined(TARGET_OS_WINDOWS)
516 // Clears the state of the current thread and frees the allocation.
517 void WindowsThreadCleanUp();
518 #endif
siva 2015/10/13 21:30:54 Not sure why this needs to be here in this common
Cutch 2015/10/14 14:43:18 This is structured like this because the Thread::C
519
515 } // namespace dart 520 } // namespace dart
516 521
517 #endif // VM_THREAD_H_ 522 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/os_thread_win.cc ('k') | runtime/vm/thread.cc » ('j') | runtime/vm/thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698