Add a callback to be executed. Callbacks are executed serially and memory is release‐acquire consistent between callback executions. Practically, this means that callbacks can behave as if they are executed in order by a single thread.

Synopsis

Declared in <scheduler.h>

[[requires_capability(0x7f2e20c05ce8)]]
virtual
void
insert(std::function<void()> func) override;

Parameters

Name

Description

func

The callback to enqueue for serial execution.

Created with MrDocs