uclibc(1.0.12) mq_send return value and errno issue

Waldemar Brodkorb wbx at uclibc-ng.org
Thu Nov 24 03:27:27 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-arm-use-common-ret_ERRVAL.patch
Type: text/x-diff
Size: 767 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20161124/f4867127/attachment.bin>


More information about the uClibc mailing list