Hi Waldemar,
Thanks for the patchset. I can confirm it fixed my issue.
Regards
Frank
-----Original Message-----
From: Waldemar Brodkorb [mailto:wbx@uclibc-ng.org]
Sent: Thursday, November 24, 2016 2:27 PM
To: Frank Liu
Cc: Waldemar Brodkorb; 'uclibc(a)uclibc.org'org'; Dushara Jayasinghe
(dushara(a)successful.com.au); devel(a)uclibc-ng.org
Subject: Re: uclibc(1.0.12) mq_send return value and errno issue
Hi Frank,
Frank Liu wrote,
Please see the attached sample code.
If I turn READERS and WRITERS to 0, the test works fine.
Adding another thread in the process by setting a non-zero number to either READERS or
WRITER, the test program crashes due to the assertion at line 99.
I think I found the reason for the problem.
Try attached patch,
best regards
Waldemar
--
Click here to report this message as spam:
https://console.mailguard.com.au/ras/1PICBK8R7h/5zv7PHEQq8uVVrlQrJoc9i/0
--
IMPORTANTPrivileged - Private & Confidential This email and files transmitted with it
are intended solely for the use of the addressee (s) and may contain information which is
confidential or privileged. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of this email or any attachment is prohibited. If
you receive this email and you are not the addressee, or you have received this email in
error, please disregard the contents of the email, delete the email and notify the author
immediately. It is your responsibility to check any email attachments for email viruses
before opening or sending them on.