TaskQueue

Asynchronous task queue

Constructors

this
this()

Constructor

Destructor

~this
~this()
Undocumented in source.

Members

Functions

count
size_t count()

Number of queued tasks

dequeue
Task dequeue()

Remove a task from queue

enqueue
bool enqueue(Task task)

Add a task to queue

Variables

MaxTasks
enum size_t MaxTasks;
Undocumented in source.
mutex
Mutex mutex;
Undocumented in source.
tasks
Array!(Task, MaxTasks) tasks;
Undocumented in source.

Meta