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: pthread_mutex_lock returns err code 2



Shifted to darwin-userlevel from darwin-kernel.

I can see it returning "22", EINVAL, but not "2".  Anyway, you'll need
to post a lot more info than this to get a decent reply...

-H.

On 12/15/05, Amol Gajewar <email@hidden> wrote:
>
> The System call named pthread_mutex_lock((& mutex.mut)) returns err code 2
> on MAC - OS X / 10.3.3 gcc 3.3.
> I am not able to understand reason behind this.
> Do anybody have explaination for this.
> Is there any work around for this problem.
>
> with regards
> Amol Gajewar
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/darwin-kernel/email@hidden
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden

References: 
 >pthread_mutex_lock returns err code 2 (From: "Amol Gajewar" <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.