From 4467e518e963135c0e827e889d242cdce9164b52 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 29 Jan 2018 22:14:12 +0100 Subject: wip --- src/blogc-make/main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/blogc-make') diff --git a/src/blogc-make/main.c b/src/blogc-make/main.c index 96a145b..02ab3b5 100644 --- a/src/blogc-make/main.c +++ b/src/blogc-make/main.c @@ -50,6 +50,8 @@ print_usage(void) } + +#include "../common/thread-pool.h" int #ifdef MAKE_EMBEDDED bm_main(int argc, char **argv) @@ -58,6 +60,11 @@ main(int argc, char **argv) #endif { setlocale(LC_ALL, ""); + bc_threadpool_t *tp = bc_threadpool_new(NULL, 20, NULL, NULL); + bc_threadpool_append(tp, "bola"); + bc_threadpool_append(tp, "guda"); + sleep(10); + return 0; int rv = 0; bc_error_t *err = NULL; -- cgit v1.2.3-18-g5258