The patch works, thanks.
-----Original Message-----
From: Gilles Chanteperdrix [mailto:[EMAIL PROTECTED]
Sent: Monday, July 03, 2006 4:15 PM
To: Landau, Bracha
Cc: [email protected]
Subject: RE: [Xenomai-help] pthread_mutex_destroy in 2.2 rc2
Landau, Bracha wrote:
> As you suggested, I've upgraded to xenomai 2.2 rc3.
> I still see the same phenomenon.
> I'm attaching code that will reproduce the error.
> (When you ^c out of the main loop, the pthread_cleanup_pop is called, and
> the call to pthread_mutex_destroy returns 0x10.)
Thanks for the piece of code. The error was due to a missing
initialization, that got unseen under simulation because simulator
allocated memory was always zero. It is now fixed in the repository. You
can apply the attached patch to 2.2 rc3 to fix it.
--
Gilles Chanteperdrix.
*** NDS IL IT scanned this email for malicious content ***
*** IMPORTANT: Do not open attachments from unrecognized senders ***
***********************************************************************************
This email message and any attachments thereto are intended only for use by the
addressee(s) named above, and may contain legally privileged and/or
confidential information. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received this
communication in error, please immediately notify the [EMAIL PROTECTED] and
destroy the original message.
***********************************************************************************
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help