/external/chromium/base/ |
worker_pool.h | 10 class Task; 16 // This function posts |task| to run on a worker thread. |task_is_slow| 18 // false if |task| could not be posted to a worker thread. Regardless of 19 // return value, ownership of |task| is transferred to the worker pool. 21 Task* task, bool task_is_slow);
|
worker_pool_win.cc | 8 #include "base/task.h" 13 Task* task = static_cast<Task*>(param); local 14 task->Run(); 15 delete task; 22 Task* task, bool task_is_slow) { 23 task->SetBirthPlace(from_here); 29 if (!QueueUserWorkItem(WorkItemCallback, task, flags)) [all...] |
worker_pool_linux.h | 13 // task queue, it does not own the worker threads. The worker threads ask the 37 class Task; 56 // Adds |task| to the thread pool. LinuxDynamicThreadPool assumes ownership 57 // of |task|. 58 void PostTask(Task* task); 62 Task* WaitForTask(); 77 std::queue<Task*> tasks_;
|
task_unittest.cc | 6 #include "base/task.h" 24 TEST(Task, OneArg) { 34 TEST(Task, ReturnValue) {
|
worker_pool_linux.cc | 13 #include "base/task.h" 27 void PostTask(const tracked_objects::Location& from_here, Task* task, 43 Task* task, bool task_is_slow) { 44 task->SetBirthPlace(from_here); 45 pool_->PostTask(task); 74 Task* task = pool_->WaitForTask(); local 75 if (!task) 107 Task* task = tasks_.front(); local 163 Task* task = tasks_.front(); local [all...] |
message_loop.h | 16 #include "base/task.h" 32 // Events include at a minimum Task instances submitted to PostTask or those 41 // NOTE: MessageLoop has task reentrancy protection. This means that if a 42 // task is being processed, a second task cannot start until the first task is 43 // finished. Reentrancy can happen when processing a task, and an inner 45 // which could implicitly start an inner task. Inner message pumps are created 49 // Sample workaround when inner task processing is needed: 56 // Please be SURE your task is reentrant (nestable) and all global variable 288 Task* task; \/\/ The task to run. member in struct:MessageLoop::PendingTask [all...] |
worker_pool_unittest.cc | 5 #include "base/task.h" 17 class PostTaskTestTask : public Task {
|
cancellation_flag_unittest.cc | 26 class CancelTask : public Task {
|
/external/webkit/WebCore/workers/ |
WorkerRunLoop.h | 55 // Waits for a single task and returns. 61 void postTask(PassOwnPtr<ScriptExecutionContext::Task>); 62 void postTaskForMode(PassOwnPtr<ScriptExecutionContext::Task>, const String& mode); 68 class Task : public Noncopyable { 70 static PassOwnPtr<Task> create(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode); 71 ~Task() { } 76 Task(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode) [all...] |
WorkerLoaderProxy.h | 52 // Posts a task to the thread which runs the loading code (normally, the main thread). 53 virtual void postTaskToLoader(PassOwnPtr<ScriptExecutionContext::Task>) = 0; 57 virtual void postTaskForModeToWorkerContext(PassOwnPtr<ScriptExecutionContext::Task>, const String& mode) = 0;
|
WorkerRunLoop.cpp | 80 bool operator()(WorkerRunLoop::Task* task) const 82 return m_defaultMode || m_mode == task->mode(); 151 double absoluteTime = (predicate.isDefaultMode() && m_sharedTimer->isActive()) ? m_sharedTimer->fireTime() : MessageQueue<Task>::infiniteTime(); 153 OwnPtr<WorkerRunLoop::Task> task = m_messageQueue.waitForMessageFilteredWithTimeout(result, predicate, absoluteTime); local 162 task->performTask(context); 179 void WorkerRunLoop::postTask(PassOwnPtr<ScriptExecutionContext::Task> task) 181 postTaskForMode(task, defaultMode()) [all...] |
WorkerMessagingProxy.h | 74 virtual void postTaskToLoader(PassOwnPtr<ScriptExecutionContext::Task>); 75 virtual void postTaskForModeToWorkerContext(PassOwnPtr<ScriptExecutionContext::Task>, const String& mode); 103 Vector<OwnPtr<ScriptExecutionContext::Task> > m_queuedEarlyTasks; // Tasks are queued here until there's a thread object created.
|
WorkerMessagingProxy.cpp | 47 class MessageWorkerContextTask : public ScriptExecutionContext::Task { 75 class MessageWorkerTask : public ScriptExecutionContext::Task { 106 class WorkerExceptionTask : public ScriptExecutionContext::Task { 142 class WorkerContextDestroyedTask : public ScriptExecutionContext::Task { 163 class WorkerTerminateTask : public ScriptExecutionContext::Task { 184 class WorkerThreadActivityReportTask : public ScriptExecutionContext::Task { 260 void WorkerMessagingProxy::postTaskForModeToWorkerContext(PassOwnPtr<ScriptExecutionContext::Task> task, const String& mode) 266 m_workerThread->runLoop().postTaskForMode(task, mode); 269 void WorkerMessagingProxy::postTaskToLoader(PassOwnPtr<ScriptExecutionContext::Task> task [all...] |
/external/emma/ant/ant14/com/vladium/emma/ant/ |
StringValue.java | 11 import org.apache.tools.ant.Task; 47 protected StringValue (final Task task) 49 if (task == null) throw new IllegalArgumentException ("null input: task"); 51 m_task = task; 55 protected final Task m_task;
|
GenericCfg.java | 19 import org.apache.tools.ant.Task; 41 public GenericCfg (final Task task) 43 if (task == null) throw new IllegalArgumentException ("null input: task"); 45 m_task = task; 141 private final Task m_task;
|
SuppressableTask.java | 18 import org.apache.tools.ant.Task; 25 abstract class SuppressableTask extends Task
|
/external/qemu/distrib/sdl-1.2.12/src/thread/amigaos/ |
SDL_systhread_c.h | 47 #define Task TaskPPC 59 #define SYS_ThreadHandle struct Task *
|
SDL_systhread.c | 36 struct Task *wait; 55 struct Task *Father; 74 struct Task *Father; 115 thread->handle=(struct Task *)CreateNewProcTags(NP_Output,Output(), 150 Signal((struct Task *)thread->handle,SIGBREAKF_CTRL_C);
|
/sdk/anttasks/src/com/android/ant/ |
IfElseTask.java | 20 import org.apache.tools.ant.Task; 44 public class IfElseTask extends Task {
|
XPathTask.java | 22 import org.apache.tools.ant.Task; 33 * Android specific XPath task. 37 public class XPathTask extends Task {
|
/external/emma/ant/ant14/com/vladium/emma/report/ |
ReportCfg.java | 26 import org.apache.tools.ant.Task; 113 Element (final Task task, final IProperties settings) 115 if (task == null) 116 throw new IllegalArgumentException ("null input: task"); 120 m_task = task; 151 protected final Task m_task; // never null 167 Element_HTML (final Task task, final IProperties settings) 169 super (task, settings) [all...] |
/external/webkit/WebCore/dom/ |
ScriptExecutionContext.h | 115 class Task : public Noncopyable { 117 virtual ~Task(); 123 virtual void postTask(PassOwnPtr<Task>) = 0; // Executes the task on context's thread asynchronously.
|
/external/webkit/WebKit/chromium/src/ |
WebWorkerBase.h | 76 virtual void postTaskToLoader(PassOwnPtr<WebCore::ScriptExecutionContext::Task>); 78 PassOwnPtr<WebCore::ScriptExecutionContext::Task>, const WebCore::String& mode); 80 // Executes the given task on the main thread. 81 static void dispatchTaskToMainThread(PassOwnPtr<WebCore::ScriptExecutionContext::Task>);
|
/external/emma/ant/ant14/com/vladium/emma/instr/ |
FilterCfg.java | 18 import org.apache.tools.ant.Task; 38 public filterElement (final Task task) 40 super (task); 118 public FilterCfg (final Task task) 120 if (task == null) throw new IllegalArgumentException ("null input: task"); 122 m_task = task; 189 private final Task m_task; // never nul [all...] |
/external/webkit/WebCore/storage/chromium/ |
SQLTransactionClientChromium.cpp | 43 class NotifyDatabaseChangedTask : public ScriptExecutionContext::Task {
|