The OpenD Programming Language

cef_task_runner_t

cef_types.h list the common CEF threads. Task runners are also available for other CEF threads as appropriate (for example, V8 WebWorker threads).

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

belongs_to_current_thread
int function(cef_task_runner_t* self) nothrow belongs_to_current_thread;

Returns true (1) if this task runner belongs to the current thread.

belongs_to_thread
int function(cef_task_runner_t* self, cef_thread_id_t threadId) nothrow belongs_to_thread;

Returns true (1) if this task runner is for the specified CEF thread.

is_same
int function(cef_task_runner_t* self, cef_task_runner_t* that) nothrow is_same;

Returns true (1) if this object is pointing to the same task runner as |that| object.

post_delayed_task
int function(cef_task_runner_t* self, cef_task_t* task, long delay_ms) nothrow post_delayed_task;

Post a task for delayed execution on the thread associated with this task runner. Execution will occur asynchronously. Delayed tasks are not supported on V8 WebWorker threads and will be executed without the specified delay.

post_task
int function(cef_task_runner_t* self, cef_task_t* task) nothrow post_task;

Post a task for execution on the thread associated with this task runner. Execution will occur asynchronously.

Meta