Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: runtime/bin/thread_pool_win.h

Issue 9114008: Introduce runtime/platform directory for code shared between vm (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 BIN_THREAD_POOL_WIN_H_ 5 #ifndef BIN_THREAD_POOL_WIN_H_
6 #define BIN_THREAD_POOL_WIN_H_ 6 #define BIN_THREAD_POOL_WIN_H_
7 7
8 #include "vm/globals.h" 8 #include "platform/globals.h"
9 9
10 class TaskQueueData { 10 class TaskQueueData {
11 private: 11 private:
12 TaskQueueData() { UNIMPLEMENTED(); } 12 TaskQueueData() { UNIMPLEMENTED(); }
13 ~TaskQueueData() {} 13 ~TaskQueueData() {}
14 14
15 friend class TaskQueue; 15 friend class TaskQueue;
16 16
17 DISALLOW_ALLOCATION(); 17 DISALLOW_ALLOCATION();
18 DISALLOW_COPY_AND_ASSIGN(TaskQueueData); 18 DISALLOW_COPY_AND_ASSIGN(TaskQueueData);
19 }; 19 };
20 20
21 21
22 class ThreadPoolData { 22 class ThreadPoolData {
23 private: 23 private:
24 static const int kMaxThreadPoolSize = 16; 24 static const int kMaxThreadPoolSize = 16;
25 25
26 ThreadPoolData() { UNIMPLEMENTED(); } 26 ThreadPoolData() { UNIMPLEMENTED(); }
27 ~ThreadPoolData() {} 27 ~ThreadPoolData() {}
28 28
29 friend class ThreadPool; 29 friend class ThreadPool;
30 30
31 DISALLOW_ALLOCATION(); 31 DISALLOW_ALLOCATION();
32 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData); 32 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData);
33 }; 33 };
34 34
35 #endif // BIN_THREAD_POOL_WIN_H_ 35 #endif // BIN_THREAD_POOL_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698