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 #ifndef V8_LIBPLATFORM_DEFAULT_PLATFORM_H_ | 5 #ifndef V8_LIBPLATFORM_DEFAULT_PLATFORM_H_ |
6 #define V8_LIBPLATFORM_DEFAULT_PLATFORM_H_ | 6 #define V8_LIBPLATFORM_DEFAULT_PLATFORM_H_ |
7 | 7 |
8 #include <functional> | 8 #include <functional> |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 typedef std::pair<double, Task*> DelayedEntry; | 61 typedef std::pair<double, Task*> DelayedEntry; |
62 std::map<v8::Isolate*, | 62 std::map<v8::Isolate*, |
63 std::priority_queue<DelayedEntry, std::vector<DelayedEntry>, | 63 std::priority_queue<DelayedEntry, std::vector<DelayedEntry>, |
64 std::greater<DelayedEntry> > > | 64 std::greater<DelayedEntry> > > |
65 main_thread_delayed_queue_; | 65 main_thread_delayed_queue_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(DefaultPlatform); | 67 DISALLOW_COPY_AND_ASSIGN(DefaultPlatform); |
68 }; | 68 }; |
69 | 69 |
70 | 70 |
71 } } // namespace v8::platform | 71 } // namespace platform |
| 72 } // namespace v8 |
72 | 73 |
73 | 74 |
74 #endif // V8_LIBPLATFORM_DEFAULT_PLATFORM_H_ | 75 #endif // V8_LIBPLATFORM_DEFAULT_PLATFORM_H_ |
OLD | NEW |