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

Unified Diff: runtime/bin/eventhandler.h

Issue 9212043: Refactored 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/thread_pool.h » ('j') | runtime/bin/thread_pool.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler.h
diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h
index 39200847165964dcaf5881ce64e4c578f4985b67..c4edf0606559a1c24338c0632de6152a3bd0ed68 100644
--- a/runtime/bin/eventhandler.h
+++ b/runtime/bin/eventhandler.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, 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.
@@ -42,11 +42,10 @@ class EventHandler {
delegate_.SendData(id, dart_port, data);
}
- static void* AsyncTaskHandler(void* args) {
+ static void AsyncTaskHandler(ThreadPool::Task args) {
if (Dart_IsVMFlagSet("trace_thread_pool")) {
printf("Got async task\n");
}
- return NULL;
}
static void Initialize() {
« no previous file with comments | « no previous file | runtime/bin/thread_pool.h » ('j') | runtime/bin/thread_pool.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698