3 #include <winpr/pool.h>
17 int TestPoolThread(
int argc,
char* argv[])
24 if (!(pool = CreateThreadpool(NULL)))
26 printf(
"CreateThreadpool failed\n");
30 if (!SetThreadpoolThreadMinimum(pool, 8))
32 printf(
"SetThreadpoolThreadMinimum failed\n");
36 SetThreadpoolThreadMaximum(pool, 64);
38 CloseThreadpool(pool);