| 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 "platform/globals.h" | 5 #include "platform/globals.h" |
| 6 #if defined(TARGET_OS_WINDOWS) | 6 #if defined(HOST_OS_WINDOWS) |
| 7 | 7 |
| 8 #include "bin/thread.h" | 8 #include "bin/thread.h" |
| 9 #include "bin/thread_win.h" | 9 #include "bin/thread_win.h" |
| 10 | 10 |
| 11 #include <process.h> // NOLINT | 11 #include <process.h> // NOLINT |
| 12 | 12 |
| 13 #include "platform/assert.h" | 13 #include "platform/assert.h" |
| 14 | 14 |
| 15 namespace dart { | 15 namespace dart { |
| 16 namespace bin { | 16 namespace bin { |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 // timeout before we signal it, that object will get an extra | 398 // timeout before we signal it, that object will get an extra |
| 399 // signal. This will be treated as a spurious wake-up and is OK | 399 // signal. This will be treated as a spurious wake-up and is OK |
| 400 // since all uses of monitors should recheck the condition after a | 400 // since all uses of monitors should recheck the condition after a |
| 401 // Wait. | 401 // Wait. |
| 402 data_.SignalAndRemoveAllWaiters(); | 402 data_.SignalAndRemoveAllWaiters(); |
| 403 } | 403 } |
| 404 | 404 |
| 405 } // namespace bin | 405 } // namespace bin |
| 406 } // namespace dart | 406 } // namespace dart |
| 407 | 407 |
| 408 #endif // defined(TARGET_OS_WINDOWS) | 408 #endif // defined(HOST_OS_WINDOWS) |
| OLD | NEW |