In the example application ( example.c ) , a number of tasks are assigned to the thread pool and the program is not waiting till all the tasks are getting completed. This fix will solve the issue and make program wait till all the scheduled tasks completed.
After that, all threads are getting destroyed.
In the example application ( example.c ) , a number of tasks are assigned to the thread pool and the program is not waiting till all the tasks are getting completed. This fix will solve the issue and make program wait till all the scheduled tasks completed. After that, all threads are getting destroyed.