|
iceberg-cpp
|
Schedules iceberg-cpp internal planning tasks. More...
#include <executor.h>
Public Member Functions | |
| virtual Status | Submit (ExecutorTask task)=0 |
| Schedule a task for execution. | |
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.
|
pure virtual |
Schedule a task for execution.
Implemented in iceberg::test::ThreadExecutor.