Re: mach_port_deallocate(kernel_thread) failed: (os/kern) invalid
Re: mach_port_deallocate(kernel_thread) failed: (os/kern) invalid
- Subject: Re: mach_port_deallocate(kernel_thread) failed: (os/kern) invalid
- From: Marc Van Olmen <email@hidden>
- Date: Sun, 31 Oct 2004 20:40:32 -0500
hi,
just posting the solution for the archive.
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.
regards,
mvo
On Oct 31, 2004, at 3:03 PM, email@hidden 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden