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

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

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
« runtime/vm/thread.h ('K') | « runtime/vm/thread.h ('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 #include "vm/thread.h" 5 #include "vm/thread.h"
6 6
7 #include "vm/growable_array.h" 7 #include "vm/growable_array.h"
8 #include "vm/isolate.h" 8 #include "vm/isolate.h"
9 #include "vm/lockers.h" 9 #include "vm/lockers.h"
10 #include "vm/log.h" 10 #include "vm/log.h"
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 524
525 525
526 Thread* ThreadIterator::Next() { 526 Thread* ThreadIterator::Next() {
527 ASSERT(Thread::thread_list_lock_ != NULL); 527 ASSERT(Thread::thread_list_lock_ != NULL);
528 ASSERT(Thread::thread_list_lock_->IsOwnedByCurrentThread()); 528 ASSERT(Thread::thread_list_lock_->IsOwnedByCurrentThread());
529 Thread* current = next_; 529 Thread* current = next_;
530 next_ = next_->thread_list_next_; 530 next_ = next_->thread_list_next_;
531 return current; 531 return current;
532 } 532 }
533 533
534 void WindowsThreadCleanUp() {
535 Thread::CleanUp();
536 }
siva 2015/10/13 21:30:54 Ditto comment.
Cutch 2015/10/14 14:43:18 Acknowledged.
534 537
535 } // namespace dart 538 } // namespace dart
OLDNEW
« runtime/vm/thread.h ('K') | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698