OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/api.h" | 7 #include "src/api.h" |
8 #include "src/arguments.h" | 8 #include "src/arguments.h" |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 3351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3362 queue_.Put(message); | 3362 queue_.Put(message); |
3363 logger_->DebugEvent("Put", message.text()); | 3363 logger_->DebugEvent("Put", message.text()); |
3364 } | 3364 } |
3365 | 3365 |
3366 | 3366 |
3367 void LockingCommandMessageQueue::Clear() { | 3367 void LockingCommandMessageQueue::Clear() { |
3368 base::LockGuard<base::Mutex> lock_guard(&mutex_); | 3368 base::LockGuard<base::Mutex> lock_guard(&mutex_); |
3369 queue_.Clear(); | 3369 queue_.Clear(); |
3370 } | 3370 } |
3371 | 3371 |
3372 } } // namespace v8::internal | 3372 } // namespace internal |
| 3373 } // namespace v8 |
OLD | NEW |