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

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

Issue 9141005: Change the thread interface in runtime/platform and use it starting all threads (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from asiva@ Created 8 years, 10 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 #ifndef BIN_THREAD_POOL_WIN_H_
6 #define BIN_THREAD_POOL_WIN_H_
7
8 #if !defined(BIN_THREAD_POOL_H_)
9 #error Do not include thread_pool_win.h directly; use thread_pool.h instead.
10 #endif
11
12 #include "platform/globals.h"
13
14 class ThreadPoolData {
15 private:
16 static const int kMaxThreadPoolSize = 16;
17
18 ThreadPoolData() { UNIMPLEMENTED(); }
19 ~ThreadPoolData() {}
20
21 friend class ThreadPool;
22
23 DISALLOW_ALLOCATION();
24 DISALLOW_COPY_AND_ASSIGN(ThreadPoolData);
25 };
26
27 #endif // BIN_THREAD_POOL_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698