18#ifndef _ACTIVEMQ_THREADS_DEDICATEDTASKRUNNER_H_
19#define _ACTIVEMQ_THREADS_DEDICATEDTASKRUNNER_H_
40 bool threadTerminated;
#define AMQCPP_API
Definition: Config.h:30
Definition: DedicatedTaskRunner.h:34
virtual void shutdown(long long timeout)
Shutdown after a timeout, does not guarantee that the task's iterate method has completed and the thr...
virtual bool isStarted() const
DedicatedTaskRunner(Task *task)
virtual void run()
Run method - called by the Thread class in the context of the thread.
virtual void wakeup()
Signal the TaskRunner to wakeup and execute another iteration cycle on the task, the Task instance wi...
virtual void shutdown()
Shutdown once the task has finished and the TaskRunner's thread has exited.
virtual void start()
Starts the task runner.
virtual ~DedicatedTaskRunner()
Represents a unit of work that requires one or more iterations to complete.
Definition: Task.h:31
Definition: TaskRunner.h:27
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Interface for a runnable object - defines a task that can be run by a thread.
Definition: Runnable.h:29
Mutex object that offers recursive support on all platforms as well as providing the ability to use t...
Definition: Mutex.h:39
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24