| OLD | NEW |
| 1 // Copyright (c) 2012, 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 "vm/thread.h" | 5 #include "platform/thread.h" |
| 6 | 6 |
| 7 #include <process.h> | 7 #include <process.h> |
| 8 | 8 |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 | 10 |
| 11 namespace dart { | 11 namespace dart { |
| 12 | 12 |
| 13 class ThreadStartData { | 13 class ThreadStartData { |
| 14 public: | 14 public: |
| 15 ThreadStartData(Thread::ThreadStartFunction function, | 15 ThreadStartData(Thread::ThreadStartFunction function, |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 void Monitor::Notify() { | 163 void Monitor::Notify() { |
| 164 WakeConditionVariable(&data_.cond_); | 164 WakeConditionVariable(&data_.cond_); |
| 165 } | 165 } |
| 166 | 166 |
| 167 | 167 |
| 168 void Monitor::NotifyAll() { | 168 void Monitor::NotifyAll() { |
| 169 WakeAllConditionVariable(&data_.cond_); | 169 WakeAllConditionVariable(&data_.cond_); |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace dart | 172 } // namespace dart |
| OLD | NEW |