iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::Executor Class Referenceabstract

Schedules iceberg-cpp internal planning tasks. More...

#include <executor.h>

Inheritance diagram for iceberg::Executor:
iceberg::test::ThreadExecutor

Public Member Functions

virtual Status Submit (ExecutorTask task)=0
 Schedule a task for execution.
 

Detailed Description

Schedules iceberg-cpp internal planning tasks.

Public APIs that accept an executor remain synchronous: the calling thread may block while waiting for submitted tasks to finish. Callers must ensure the executor can continue making progress while the caller is blocked. Calling those APIs from one of the same bounded executor's worker threads can deadlock unless the executor supports nested blocking work.

When an executor is configured, planning callbacks may be called concurrently. Any shared mutable state captured by those callbacks must be synchronized by the caller.

Member Function Documentation

◆ Submit()

virtual Status iceberg::Executor::Submit ( ExecutorTask  task)
pure virtual

Schedule a task for execution.

Implemented in iceberg::test::ThreadExecutor.


The documentation for this class was generated from the following file: