site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dirk -- One thing seems to be that from every pthread remains a port. Is that leaked? How can I release that port? HTH, -- Chris ------------------ 6 Infinite Loop M/S 306-2MS Cupertino CA 95014 phone: (408) 974-4033 fax: (408) 862-7577 email: sarcone@apple.com _______________________________________________ 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... Are you creating the threads with the "detached" attribute or calling pthread_join()? If not, that's probably a good explanation for your leaks. One other thing is our use of the CFMessagePort communication. Every call to CFMessagePortCreateRemote() as well as some other calls from the CFMessagePort suite increases the number of send rights for a special port, but CFRelease() doesn't lower it again. Is that expected behaviour? Are you also detaching and releasing the runloop sources associated with the message port? I believe those might add a retain to the message port and therefore prevent the mach port from being released... This email sent to site_archiver@lists.apple.com
participants (1)
-
Chris Sarcone