Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thread_policy_set starts to give errors...



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: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >thread_policy_set starts to give errors... (From: Marc Van Olmen <email@hidden>)
 >Re: thread_policy_set starts to give errors... (From: Chris Sarcone <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.