Did join() frees allocated memory? - C++11 Threads
Imagine that I use C++11 threads. The thread will run a function that do malloc. After that I will use join without free (the memory). So, I killed the thread. It is expected that the memory frees automatically?
Aucun commentaire:
Enregistrer un commentaire