#include "arena.h" #include "ll.h" #include "encryption.h" #include "scanner.h" #include "shared.h" #include "threadpool.h" #include #include #include int testcb(void *data) { if(!data) return -1; printf("%s\n", (char*)data); return 0; } int main() { // error(1, ENOTSUP, "No main file lol"); threadpool *tp = threadpool_init(2); task *tsk = task_init(testcb, "This is some data"); threadpool_addtask(tp, tsk); threadpool_free(tp); return 0; }