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 #ifndef RUNTIME_VM_LOCKERS_H_ | 5 #ifndef RUNTIME_VM_LOCKERS_H_ |
6 #define RUNTIME_VM_LOCKERS_H_ | 6 #define RUNTIME_VM_LOCKERS_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 Monitor::WaitResult Wait(int64_t millis = Monitor::kNoTimeout); | 243 Monitor::WaitResult Wait(int64_t millis = Monitor::kNoTimeout); |
244 | 244 |
245 private: | 245 private: |
246 Monitor* const monitor_; | 246 Monitor* const monitor_; |
247 | 247 |
248 DISALLOW_COPY_AND_ASSIGN(SafepointMonitorLocker); | 248 DISALLOW_COPY_AND_ASSIGN(SafepointMonitorLocker); |
249 }; | 249 }; |
250 | 250 |
251 } // namespace dart | 251 } // namespace dart |
252 | 252 |
253 | |
254 #endif // RUNTIME_VM_LOCKERS_H_ | 253 #endif // RUNTIME_VM_LOCKERS_H_ |
OLD | NEW |