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

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

Issue 9231020: Use platform implementation of Monitor in thread pool (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « runtime/bin/thread_pool_macos.cc ('k') | runtime/bin/thread_pool_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "platform/globals.h" 8 #include "platform/globals.h"
9 9
10 class TaskQueueData {
11 private:
12 TaskQueueData() { UNIMPLEMENTED(); }
13 ~TaskQueueData() {}
14
15 friend class TaskQueue;
16
17 DISALLOW_ALLOCATION();
18 DISALLOW_COPY_AND_ASSIGN(TaskQueueData);
19 };
20
21
22 class ThreadPoolData { 10 class ThreadPoolData {
23 private: 11 private:
24 static const int kMaxThreadPoolSize = 16; 12 static const int kMaxThreadPoolSize = 16;
25 13
26 ThreadPoolData() { UNIMPLEMENTED(); } 14 ThreadPoolData() { UNIMPLEMENTED(); }
27 ~ThreadPoolData() {} 15 ~ThreadPoolData() {}
28 16
29 friend class ThreadPool; 17 friend class ThreadPool;
30 18
31 DISALLOW_ALLOCATION(); 19 DISALLOW_ALLOCATION();
32 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData); 20 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData);
33 }; 21 };
34 22
35 #endif // BIN_THREAD_POOL_WIN_H_ 23 #endif // BIN_THREAD_POOL_WIN_H_
OLDNEW
« no previous file with comments | « runtime/bin/thread_pool_macos.cc ('k') | runtime/bin/thread_pool_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698