site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com hi, just posting the solution for the archive. regards, mvo On Oct 31, 2004, at 3:03 PM, darwin-dev-request@lists.apple.com wrote: When I do: pthread_join(mPThread,NULL); on my thread the pThread-join ends but in the console I see this appearing: mach_port_deallocate(kernel_thread) failed: (os/kern) invalid name anyone an idea what's going on? Also i noticed that when i do when I do: AudioOutputUnitStop(fOutputAudioUnit); I notice that the console is giving the following error: mach_port_mod_refs(reply_port) failed: (os/kern) invalid name in the debugger console. Should i be worried? I'm just trying to stop the audio from playing. _______________________________________________ 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 problem was related to the fact that I called pthread_detach at the end of the feeder thread routine. Also I was waiting with pthread_join until the thread was finished. So if I called the pthread_detach after the pthread_join everything was fine and also all the resources were deleted. This email sent to site_archiver@lists.apple.com
participants (1)
-
Marc Van Olmen