From 16528ac295215e788cb226f0cc49f11f82919741 Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Fri, 6 Jun 2025 13:30:34 -0500 Subject: Get threadpool implementation working --- src/main.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 73169d1..1e4f960 100755 --- a/src/main.c +++ b/src/main.c @@ -20,18 +20,7 @@ int testcb(void *arg) { } int main() { - // error(-1, ENOTSUP, "lol"); - - cqueue *cq = cqueue_init(); - // if(!cq) - // abort(); - - cqueue_registerthreads(cq, 10); - cqueue_addtask(cq, task_init(testcb, "this is some data")); - - sleep(3); - - cqueue_free(cq); + error(-1, ENOTSUP, "lol"); return 0; } \ No newline at end of file -- cgit v1.2.3