site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Microsoft-Entourage/11.1.0.040913 Chris,
One thing seems to be that from every pthread remains a port. Is that leaked? How can I release that port?
Are you creating the threads with the "detached" attribute or calling pthread_join()? If not, that's probably a good explanation for your leaks.
After calling pthread_create() and pthread_detach() MachPortDump shows these additional ports: 0x6303 3 0x6403 1 0x6503 1 1 0x6603 1 0x6703 1 This makes up for five ports with a total of 4 send rights, 3 receive rights and a PortSet. 0x6303 is the result for mach_thread_self() in this example. After terminating the thread these rights still exist: 0x6303 2 which gives 2 DeadName rights. How could I care for releasing these references? Regards Dirk _______________________________________________ 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... This email sent to site_archiver@lists.apple.com