Re: thread_policy_set starts to give errors...
Re: thread_policy_set starts to give errors...
- Subject: Re: thread_policy_set starts to give errors...
- From: Marc Van Olmen <email@hidden>
- Date: Fri, 22 Jul 2005 16:23:22 -0400
chris,
thx for you reaction
I noticed that
pthread_mach_thread_np(mPThread)
returned the value '64555'
the mPThread seems to be having a normal value.
The problem doesn't happens all the time so far it seems to be happen
random.
cheers,
mvo
On Jul 22, 2005, at 1:29 PM, Chris Sarcone wrote:
Marc --
decimal 268435459 or in hex 0x10000003
This error corresponds to:
<mach/message.h>
#define MACH_SEND_INVALID_DEST 0x10000003 /* Bogus
destination port. */
It appears the port for the pthread has possibly become invalid. Make
sure your mPThread is valid and that pthread_mach_thread_np() returns
a valid port. If those both seem OK, then file a bug with a test case
that shows how this could occur.
-- Chris
------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
email: email@hidden
_______________________________________________
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