aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make')
-rw-r--r--src/blogc-make/main.c7
1 files changed, 7 insertions, 0 deletions
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;