site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 12 sep 2004, at 21:39, Marc Van Olmen wrote: Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... matt I understand that, but my remark was in the case a thread is joinable. Why am I currently obliged to call at the end of the thread function, 'pthread_detach' to release the resources of the thread, because If I dont' call 'pthread_detach' at the end of the thread function my virtual memory grows and keeps on growing when i create and delete my threads... Because if the thread is joinable, it must be kept around since somewhere in the future someone may try to join it. This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe