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

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

Issue 9189003: Move assert.h/assert.cc from runtime/vm to runtime/platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing vm/assert.h for _macos, _win, _arm and _x64 files Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 <process.h> 5 #include <process.h>
6 6
7 #include "platform/assert.h"
7 #include "vm/thread.h" 8 #include "vm/thread.h"
Ivan Posva 2012/01/13 23:22:06 First.
Søren Gjesse 2012/01/16 08:58:00 Done.
8 9
9 #include "vm/assert.h"
10
11 namespace dart { 10 namespace dart {
12 11
13 class ThreadStartData { 12 class ThreadStartData {
14 public: 13 public:
15 ThreadStartData(Thread::ThreadStartFunction function, 14 ThreadStartData(Thread::ThreadStartFunction function,
16 uword parameter, 15 uword parameter,
17 Thread* thread) 16 Thread* thread)
18 : function_(function), parameter_(parameter), thread_(thread) {} 17 : function_(function), parameter_(parameter), thread_(thread) {}
19 18
20 Thread::ThreadStartFunction function() const { return function_; } 19 Thread::ThreadStartFunction function() const { return function_; }
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void Monitor::Notify() { 162 void Monitor::Notify() {
164 WakeConditionVariable(&data_.cond_); 163 WakeConditionVariable(&data_.cond_);
165 } 164 }
166 165
167 166
168 void Monitor::NotifyAll() { 167 void Monitor::NotifyAll() {
169 WakeAllConditionVariable(&data_.cond_); 168 WakeAllConditionVariable(&data_.cond_);
170 } 169 }
171 170
172 } // namespace dart 171 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698