#ifndef CHUNK_STEAL_SCHEDULER_HPP
#define CHUNK_STEAL_SCHEDULER_HPP

#include "scheduler_iface.hpp"

// Chunk-stealing: each thread owns a deque of CHUNK-aligned starting frames,
// pre-seeded round-robin. A thread pops from the FRONT of its own deque; when
// empty, it tries to steal a chunk from the BACK of a victim's deque.
int run_chunk_steal_scheduler(int F, int K, task_fn_t task, void* ctx, bool affinity);

#endif
