Re: pthread_mutex_lock returns err code 2
site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B4vuI4s+NywOyxQkR0GjyUrpeUc0Tbo9GaNlq+t7SNoeA0OjaR0Q+qu0SCBtCkWm1WNBI9JDrcuQIsWbTOZ+8vKMu4FCJ4HckEINwOjYbAIhjCiMOE+D41VlGV78HE/iXa7nAEkdDQi2rBqjIaMBVBVqvzoPSvlCAcAXY9EAKDM= 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 <gajewar.amol@spsoftindia.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/bogvardi%40gmail.com
This email sent to bogvardi@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Herb Petschauer