Files
sdk/runtime/bin/thread_pool_win.cc
T
sgjesse@google.com a6071e0880 Thread pool changes
Make one global thread pool instead of a thread pool for each
eventhandler (i.e. isolate).

Also:

* Added handler function for thread pool tasks.
* Added thread pool shutdown.
* Added a simple test.

R=ager@google.com

BUG=
TEST=

Review URL: http://codereview.chromium.org//9112013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3079 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 07:38:30 +00:00

36 lines
641 B
C++

// 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.
#include "bin/thread_pool.h"
TaskQueue::TaskQueue() : terminate_(false), head_(NULL), tail_(NULL) {
UNIMPLEMENTED();
}
void TaskQueue::Insert(TaskQueueEntry* entry) {
UNIMPLEMENTED();
}
void TaskQueue::Shutdown() {
UNIMPLEMENTED();
}
TaskQueueEntry* TaskQueue::Remove() {
UNIMPLEMENTED();
return NULL;
}
void ThreadPool::Start() {
UNIMPLEMENTED();
}
void ThreadPool::Shutdown() {
UNIMPLEMENTED();
}