Call pthread_detach to make sure the resources get reclaimed
We don't call pthread_join on the threads we create, so apparently unless we call pthread_detach we just don't get the resources back (ex stack memory).
Showing
Please register or sign in to comment