#pragma once

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

void parallel_alinit(uint32_t num);
void parallel_run(void task(uint32_t));
uint32_t parallel_num_workers();
void parallel_close();

#ifdef __cplusplus
}
#endif
