summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c13
1 files changed, 1 insertions, 12 deletions
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) {
20} 20}
21 21
22int main() { 22int main() {
23 // error(-1, ENOTSUP, "lol"); 23 error(-1, ENOTSUP, "lol");
24
25 cqueue *cq = cqueue_init();
26 // if(!cq)
27 // abort();
28
29 cqueue_registerthreads(cq, 10);
30 cqueue_addtask(cq, task_init(testcb, "this is some data"));
31
32 sleep(3);
33
34 cqueue_free(cq);
35 24
36 return 0; 25 return 0;
37} \ No newline at end of file 26} \ No newline at end of file