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

Unified Diff: runtime/bin/thread_pool_test.cc

Issue 9112013: Thread pool changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from ager@ 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/thread_pool_test.cc
diff --git a/runtime/bin/thread_pool_test.cc b/runtime/bin/thread_pool_test.cc
new file mode 100644
index 0000000000000000000000000000000000000000..640807ab20fa42f43d8282791bf1bf81af708a21
--- /dev/null
+++ b/runtime/bin/thread_pool_test.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+#include "bin/thread_pool.h"
+
+// TODO(sgjesse): Get rid of these #undefs
+#undef FATAL
+#undef ASSERT
+#include "vm/assert.h"
+#include "bin/globals.h"
+#include "vm/unit_test.h"
+
+
+UNIT_TEST_CASE(StartThreadPool) {
+ ThreadPool thread_pool(NULL, 10);
+ thread_pool.Start();
+}

Powered by Google App Engine
This is Rietveld 408576698