CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
task.h File Reference

Task object with name, timing, and completion callbacks. More...

#include <cx/obj.h>
#include "basictask.h"
#include <cx/closure.h>

Go to the source code of this file.

Data Structures

struct  Task
 Task with name, timing information, and completion callbacks. More...
 

Macros

#define ftaskRun(self, tq, worker, tcon)   (self)->_->run(Task(self), TaskQueue(tq), TQWorker(worker), tcon)
 
#define ftaskRunCancelled(self, tq, worker)   (self)->_->runCancelled(Task(self), TaskQueue(tq), TQWorker(worker))
 
#define ftaskCancel(self)   (self)->_->cancel(Task(self))
 
#define ftaskWait(self, timeout)   (self)->_->wait(Task(self), timeout)
 

Typedefs

typedef struct Task Task
 Task with name, timing information, and completion callbacks.
 

Detailed Description

Task object with name, timing, and completion callbacks.

Note
This file is automatically generated from taskqueue/task/task.cxh

Definition in file task.h.