| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/base/platform/condition-variable.h" | 5 #include "src/base/platform/condition-variable.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <time.h> | 8 #include <time.h> |
| 9 | 9 |
| 10 #include "src/base/platform/time.h" | 10 #include "src/base/platform/time.h" |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 | 306 |
| 307 // Release the wait event. | 307 // Release the wait event. |
| 308 DCHECK(!result || event->notified_); | 308 DCHECK(!result || event->notified_); |
| 309 native_handle_.Post(event, result); | 309 native_handle_.Post(event, result); |
| 310 | 310 |
| 311 return result; | 311 return result; |
| 312 } | 312 } |
| 313 | 313 |
| 314 #endif // V8_OS_POSIX | 314 #endif // V8_OS_POSIX |
| 315 | 315 |
| 316 } } // namespace v8::base | 316 } // namespace base |
| 317 } // namespace v8 |
| OLD | NEW |